diff --git a/nixos/atticd.nix b/nixos/atticd.nix index e20d1c0..dd57b56 100644 --- a/nixos/atticd.nix +++ b/nixos/atticd.nix @@ -202,6 +202,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}";