mirror of
https://github.com/ryantm/agenix.git
synced 2024-09-11 06:05:38 +03:00
Remove activation scripts again
This commit is contained in:
parent
6ec0b0f7c7
commit
d7fd31756e
@ -277,20 +277,6 @@ in {
|
||||
};
|
||||
})
|
||||
(optionalAttrs isDarwin {
|
||||
system.activationScripts = {
|
||||
# Secrets with root owner and group can be installed before users
|
||||
# exist. This allows user password files to be encrypted.
|
||||
preActivation.text = builtins.concatStringsSep "\n" [
|
||||
newGeneration
|
||||
installSecrets
|
||||
];
|
||||
|
||||
# Other secrets need to wait for users and groups to exist.
|
||||
users.text = lib.mkAfter ''
|
||||
${chownSecrets}
|
||||
'';
|
||||
};
|
||||
|
||||
launchd.daemons.activate-agenix = {
|
||||
script = ''
|
||||
set -e
|
||||
|
Loading…
Reference in New Issue
Block a user