mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
activation-scripts: run custom activation scripts first
This commit is contained in:
parent
a0f2ceb787
commit
e9cf765076
1 changed files with 4 additions and 2 deletions
|
@ -50,13 +50,14 @@ in
|
|||
# Ensure a consistent umask.
|
||||
umask 0022
|
||||
|
||||
${cfg.activationScripts.extraActivation.text}
|
||||
|
||||
${cfg.activationScripts.nix-daemon.text}
|
||||
${cfg.activationScripts.nix.text}
|
||||
|
||||
${cfg.activationScripts.etc.text}
|
||||
${cfg.activationScripts.launchd.text}
|
||||
${cfg.activationScripts.time.text}
|
||||
${cfg.activationScripts.extraActivation.text}
|
||||
|
||||
# Make this configuration the current configuration.
|
||||
# The readlink is there to ensure that when $systemConfig = /system
|
||||
|
@ -84,9 +85,10 @@ in
|
|||
# Ensure a consistent umask.
|
||||
umask 0022
|
||||
|
||||
${cfg.activationScripts.extraUserActivation.text}
|
||||
|
||||
${cfg.activationScripts.defaults.text}
|
||||
${cfg.activationScripts.userLaunchd.text}
|
||||
${cfg.activationScripts.extraUserActivation.text}
|
||||
|
||||
exit $_status
|
||||
'';
|
||||
|
|
Loading…
Add table
Reference in a new issue