nixos/self-deploy: consume self-deploy's startAt attribute
As #157879 points-out, this attribute appears unused.
Fixes #157879
commitb8305074253b16fe0d98778491ee08f81f100281
authorWilliam Carroll <wpcarro@google.com>
dateWed 2 Feb 2022, 10:48 (5 years ago)
parentf1ae694
nixos/modules/services/system/self-deploy.nix+2
@@ -128,6 +128,8 @@ in
128128 systemd.services.self-deploy = {
129129 wantedBy = [ "multi-user.target" ];
130130
131+ startAt = cfg.startAt;
132+
131133 requires = lib.mkIf (!(isPathType cfg.repository)) [ "network-online.target" ];
132134
133135 environment.GIT_SSH_COMMAND = lib.mkIf (!(isNull cfg.sshKeyFile))