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.

(cherry picked from commit bcc1b762e9)
This commit is contained in:
provokateurin
2025-07-06 13:47:59 +02:00
committed by github-actions[bot]
parent 7be782abaf
commit 1c87566236

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";