From bece21421b6fa1271a64ee9d062f998fcf0a4346 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Wed, 16 Oct 2024 12:36:19 -0400 Subject: [PATCH] nixos/atticd: wants network-online.target fixes: trace: evaluation warning: atticd.service is ordered after 'network-online.target' but doesn't depend on it --- nixos/modules/services/networking/atticd.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/networking/atticd.nix b/nixos/modules/services/networking/atticd.nix index 5397bda31a9f..3984c434c60e 100644 --- a/nixos/modules/services/networking/atticd.nix +++ b/nixos/modules/services/networking/atticd.nix @@ -171,6 +171,7 @@ in wantedBy = [ "multi-user.target" ]; after = [ "network-online.target" ] ++ lib.optionals hasLocalPostgresDB [ "postgresql.service" ]; requires = lib.optionals hasLocalPostgresDB [ "postgresql.service" ]; + wants = [ "network-online.target" ]; serviceConfig = { ExecStart = "${lib.getExe cfg.package} -f ${checkedConfigFile} --mode ${cfg.mode}";