mirror of
https://github.com/ryantm/agenix.git
synced 2024-12-22 07:38:31 +03:00
run activation scripts after /run mount
This commit is contained in:
parent
e543aa7d68
commit
8bad14fe08
1 changed files with 2 additions and 2 deletions
|
@ -111,10 +111,10 @@ in
|
|||
|
||||
# Secrets with root owner and group can be installed before users
|
||||
# exist. This allows user password files to be encrypted.
|
||||
system.activationScripts.agenixRoot.text = installRootOwnedSecrets;
|
||||
system.activationScripts.agenixRoot = stringAfter [ "specialfs" ] installRootOwnedSecrets;
|
||||
system.activationScripts.users.deps = [ "agenixRoot" ];
|
||||
|
||||
# Other secrets need to wait for users and groups to exist.
|
||||
system.activationScripts.agenix = stringAfter [ "users" "groups" ] installNonRootSecrets;
|
||||
system.activationScripts.agenix = stringAfter [ "users" "groups" "specialfs" ] installNonRootSecrets;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue