fix: allow deps of installRootOwnedSecrets activation script to be overridden

This commit is contained in:
Ryan Mulligan 2021-05-09 14:17:48 -07:00
parent 204bd95d30
commit ecee2c76b9

View file

@ -105,7 +105,7 @@ in
# Secrets with root owner and group can be installed before users
# exist. This allows user password files to be encrypted.
system.activationScripts.agenixRoot = installRootOwnedSecrets;
system.activationScripts.agenixRoot.text = installRootOwnedSecrets;
system.activationScripts.users.deps = [ "agenixRoot" ];
# Other secrets need to wait for users and groups to exist.