1
Fork 0
mirror of https://github.com/RGBCube/agenix synced 2025-07-29 01:37:44 +00:00

feature: combine root and nonroot secret install; delay chowning

This commit is contained in:
Ryan Mulligan 2022-07-10 11:47:58 -07:00
parent fe206b4306
commit f86b56229b
2 changed files with 65 additions and 54 deletions

View file

@ -1,6 +1,6 @@
# Do not copy this! It is insecure. This is only okay because we are testing.
{
system.activationScripts.agenixRoot.deps = [ "installSSHHostKeys" ];
system.activationScripts.agenixInstall.deps = [ "installSSHHostKeys" ];
system.activationScripts.installSSHHostKeys.text = ''
mkdir -p /etc/ssh