summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@google.com>2022-02-02 10:48:14 -0800
committersterni <sternenseemann@systemli.org>2022-02-03 12:19:47 +0100
commitb8305074253b16fe0d98778491ee08f81f100281 (patch)
tree37bd081afb1371c082464033a53b71f192323ea4
parentf1ae6942a593843178d552b22302350eb9f2ca08 (diff)
downloadnixpkgs-b8305074253b16fe0d98778491ee08f81f100281.tar
nixpkgs-b8305074253b16fe0d98778491ee08f81f100281.tar.gz
nixpkgs-b8305074253b16fe0d98778491ee08f81f100281.tar.bz2
nixpkgs-b8305074253b16fe0d98778491ee08f81f100281.tar.lz
nixpkgs-b8305074253b16fe0d98778491ee08f81f100281.tar.xz
nixpkgs-b8305074253b16fe0d98778491ee08f81f100281.tar.zst
nixpkgs-b8305074253b16fe0d98778491ee08f81f100281.zip
nixos/self-deploy: consume self-deploy's startAt attribute
As #157879 points-out, this attribute appears unused.

Fixes #157879
-rw-r--r--nixos/modules/services/system/self-deploy.nix2
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))