secrets-store: run activation script before "users"

This commit is contained in:
Michele Guerini Rocco 2020-10-26 09:58:10 +01:00
parent 5928c45194
commit 496ddb0ac5

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 = { config.system.activationScripts.secretsStore = {
deps = [ ]; deps = [ "stdio" ];
text = text =
'' ''
# Initialise clean directory # Initialise clean directory