mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
fix: when creating initrd host key for first install make sure users exist, otherwise ssh-keygen will shit it's pants
This commit is contained in:
parent
dfed8f8219
commit
66c1c9d72d
1 changed files with 1 additions and 1 deletions
|
@ -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"];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue