8.nix-darwin/modules/services
Emily 7877cba5f5 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-05-16 16:29:17 +01:00
..
activate-system {activation-scripts,activate-system}: check gcroots before linking 2025-02-11 20:10:55 +00:00
aerospace launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
github-runner Back out "github-runner: replace mkdir -p -m with umask" 2025-03-16 19:31:31 +09:00
hercules-ci-agent hercules-ci-agent: check for nix.enable 2025-02-11 20:10:55 +00:00
jankyborders launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
karabiner-elements launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
khd launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
kwm launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
mail launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
monitoring services/netdata: add cacheDir option 2025-03-18 22:13:30 +02:00
nextdns update nextdns to use command instead of serviceConfig.ProgramArguments 2025-03-12 15:52:45 +01:00
nix-gc nix-gc: check for nix.enable 2025-02-11 20:10:55 +00:00
nix-optimise nix-optimise: check for nix.enable 2025-02-11 20:10:55 +00:00
ofborg ofborg: check for nix.enable 2025-02-11 20:10:55 +00:00
postgresql launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
privoxy launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
redis launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
sketchybar launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
skhd launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
spacebar launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
synergy launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
yabai launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
autossh.nix autossh: Fix incorrect reference to systemd 2025-03-23 08:39:49 +01:00
buildkite-agents.nix services/buildkite-agents: support multi-tags 2025-05-12 12:59:13 +02:00
cachix-agent.nix cachix-agent: check for nix.enable 2025-02-11 20:10:55 +00:00
chunkwm.nix launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
dnscrypt-proxy.nix services/dnscrypt-proxy: Fix use of pkg alias 2025-03-03 08:13:33 -05:00
dnsmasq.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
emacs.nix launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
eternal-terminal.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
gitlab-runner.nix gitlab-runner: write config as toml, don't clobber existing file 2025-05-12 13:17:31 +02:00
ipfs.nix launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
lorri.nix launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
mopidy.nix launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
netbird.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
nix-daemon.nix nix-daemon: remove services.nix-daemon.enable 2025-02-07 19:44:59 +00:00
openssh.nix openssh: init module 2025-01-10 10:23:09 +11:00
spotifyd.nix launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
synapse-bt.nix launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
tailscale.nix feat: use wait4path with script launchd option 2024-09-22 15:30:21 +10:00
trezord.nix launchd: move userLaunchd to system activation 2025-05-16 16:29:17 +01:00
wg-quick.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00