Remove activation scripts
This commit is contained in:
parent
9b94b43971
commit
4c315d9683
1 changed files with 0 additions and 14 deletions
|
@ -278,20 +278,6 @@ in {
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(optionalAttrs isDarwin {
|
(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 = {
|
launchd.daemons.activate-agenix = {
|
||||||
script = ''
|
script = ''
|
||||||
set -e
|
set -e
|
||||||
|
|
Loading…
Reference in a new issue