diff options
Diffstat (limited to 'modules/system')
| -rw-r--r-- | modules/system/launchd.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/system/launchd.nix b/modules/system/launchd.nix index 1d57ce3..f2cee96 100644 --- a/modules/system/launchd.nix +++ b/modules/system/launchd.nix @@ -128,6 +128,9 @@ in ${concatStringsSep "\n" (launchdVariables config.launchd.user.envVariables)} + ${optionalString (builtins.length userLaunchAgents > 0) '' + mkdir -p ~/Library/LaunchAgents + ''} ${concatMapStringsSep "\n" (attr: userLaunchdActivation attr.target) userLaunchAgents} for f in $(ls /run/current-system/user/Library/LaunchAgents 2> /dev/null); do |
