nixos/searx: move network.target from wantedBy to after

In 623664e84f this part was refactored,
however network.target does not make sense in wantedBy and must be part of after.
This commit is contained in:
provokateurin
2025-07-06 13:47:59 +02:00
parent bd5b4d0606
commit bcc1b762e9

View File

@@ -252,12 +252,12 @@ in
systemd.services.searx = mkIf (!cfg.runInUwsgi) {
description = "Searx server, the meta search engine.";
wantedBy = [
"network.target"
"multi-user.target"
];
wantedBy = [ "multi-user.target" ];
requires = [ "searx-init.service" ];
after = [ "searx-init.service" ];
after = [
"searx-init.service"
"network.target"
];
serviceConfig =
{
User = "searx";