3
0
Fork 0
forked from mirrors/nixpkgs

nixos/self-deploy: consume self-deploy's startAt attribute

As #157879 points-out, this attribute appears unused.

Fixes #157879
This commit is contained in:
William Carroll 2022-02-02 10:48:14 -08:00 committed by sterni
parent f1ae6942a5
commit b830507425

View file

@ -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))