1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

Allow for postActivation scripts, that happen last

This commit is contained in:
John Wiegley 2018-01-02 12:36:20 -08:00
parent 2237479c22
commit e8a0378790

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 "";
};
}