1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 18:57:08 +00:00

Merge pull request #61 from jwiegley/master

Allow for postActivation scripts, that happen last
This commit is contained in:
Daiderd Jordan 2018-01-03 00:29:38 +01:00 committed by GitHub
commit de6232171a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,8 @@ in
${cfg.activationScripts.time.text}
${cfg.activationScripts.networking.text}
${cfg.activationScripts.extraPostActivation.text}
# Make this configuration the current configuration.
# The readlink is there to ensure that when $systemConfig = /system
# (which is a symlink to the store), /run/current-system is still
@ -92,13 +94,17 @@ in
${cfg.activationScripts.defaults.text}
${cfg.activationScripts.userLaunchd.text}
${cfg.activationScripts.extraUserPostActivation.text}
exit $_status
'';
# Extra activation scripts, that can be customized by users
# don't use this unless you know what you are doing.
system.activationScripts.extraActivation.text = mkDefault "";
system.activationScripts.extraPostActivation.text = mkDefault "";
system.activationScripts.extraUserActivation.text = mkDefault "";
system.activationScripts.extraUserPostActivation.text = mkDefault "";
};
}