1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-04-07 09:35:16 +00:00
nix-darwin/modules
Emily 56d8208c45 launchd: move userLaunchd to system activation
I’m not *completely* certain that this handles user agents
correctly. There is a deprecated command, `launchctl asuser`, that
executes a command in the Mach bootstrap context of another user`.
<https://scriptingosx.com/2020/08/running-a-command-as-another-user/>
claims that this is required when loading and unloading user agents,
but I haven’t tested this. Our current launchd agent logic is pretty
weird and broken already anyway, so unless this actively regresses
things I’d lean towards keeping it like this until we can move
over entirely to `launchctl bootstrap`/`launchctl kickstart`, which
aren’t deprecated and can address individual users directly. Someone
should definitely test it more extensively than I have, though.
2025-03-23 11:13:48 +00:00
..
documentation Reapply "eval-config: set class" 2024-06-13 14:35:20 +01:00
environment {environment,readme}: default configuration path to /etc/nix-darwin 2025-01-27 23:10:14 +00:00
examples launchd: move userLaunchd to system activation 2025-03-23 11:13:48 +00:00
fonts fonts: remove fonts.fontDir.enable 2024-06-13 11:56:58 +01:00
launchd launchd: move userLaunchd to system activation 2025-03-23 11:13:48 +00:00
lib write-text: remove support for copy 2024-06-15 12:15:13 +01:00
misc services/dnscrypt-proxy: init 2025-02-28 19:58:19 +07:00
networking networking: Restore the original /etc/hosts on activation 2025-02-26 16:52:13 -05:00
nix nix-darwin: system tools can be configured indvidually 2025-03-15 09:24:22 +00:00
power power: move the check for restartPowerfailure support to checks.nix 2024-12-29 12:13:54 +01:00
programs Merge pull request #1233 from adamcstephens/fish/package 2024-12-29 10:04:09 +11:00
security pam: add pam_watchid support 2025-02-25 23:51:30 +08:00
services launchd: move userLaunchd to system activation 2025-03-23 11:13:48 +00:00
system launchd: move userLaunchd to system activation 2025-03-23 11:13:48 +00:00
time time: shellcheck fix 2024-11-05 11:12:21 +10:00
users fix: use correct username for profile 2025-03-10 19:55:24 +01:00
alias.nix Update def and implementation of nix.package to match NixOS module 2022-08-16 10:41:51 -07:00
homebrew.nix homebrew: move to system activation 2025-03-23 11:13:48 +00:00
meta.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
module-list.nix primary-user: init 2025-03-23 11:13:48 +00:00