diff --git a/nix/module.nix b/nix/module.nix index 02eb95a..49b8225 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -46,9 +46,7 @@ in { systemd.services.dyn-gandi = mkIf (cfg.timer != null) { script = "${package}/bin/dyn-gandi --config ${configFile}"; - - after = ["network-online.target"]; - + requires = ["network-online.target"]; serviceConfig = { Type = "oneshot"; };