diff --git a/modules/optional/initrd-ssh.nix b/modules/optional/initrd-ssh.nix index f9ca967..4b0b8ff 100644 --- a/modules/optional/initrd-ssh.nix +++ b/modules/optional/initrd-ssh.nix @@ -23,7 +23,7 @@ [[ -e ${config.age.secrets.initrd_host_ed25519_key.path} ]] \ || ${pkgs.openssh}/bin/ssh-keygen -t ed25519 -N "" -f ${config.age.secrets.initrd_host_ed25519_key.path} ''; - deps = ["agenixInstall"]; + deps = ["agenixInstall" "users"]; }; system.activationScripts.agenixChown.deps = ["agenixEnsureInitrdHostkey"]; }