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:
commit
de6232171a
1 changed files with 6 additions and 0 deletions
|
@ -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 "";
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue