secrets-store: run activation script before "users"

This commit is contained in:
Michele Guerini Rocco 2020-10-26 09:58:10 +01:00
parent 4aa14e6b8b
commit 8c842a2e3b
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -99,8 +99,11 @@ in {
'';
};
# The user activation script may need access to secrets
config.system.activationScripts.users.deps = [ "secretsStore" ];
config.system.activationScripts.secretsStore = {
deps = [ ];
deps = [ "stdio" ];
text =
''
# Initialise clean directory