diff options
-rw-r--r-- | nixos/modules/services/system/self-deploy.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/system/self-deploy.nix b/nixos/modules/services/system/self-deploy.nix index 33d15e08f4a..6224c8f748e 100644 --- a/nixos/modules/services/system/self-deploy.nix +++ b/nixos/modules/services/system/self-deploy.nix @@ -128,6 +128,8 @@ in systemd.services.self-deploy = { wantedBy = [ "multi-user.target" ]; + startAt = cfg.startAt; + requires = lib.mkIf (!(isPathType cfg.repository)) [ "network-online.target" ]; environment.GIT_SSH_COMMAND = lib.mkIf (!(isNull cfg.sshKeyFile)) |