nix-darwin icon indicating copy to clipboard operation
nix-darwin copied to clipboard

Mysterious items in macOS Ventura's new "Login Items" settings pane

Open hacker1024 opened this issue 1 year ago • 1 comments

nix-darwin adds a few Launch Daemons that look a little suspicious in macOS Ventura's new "Login Items" settings pane.

Here's a screenshot that includes some Launch Daemon/Agents from other apps, as well as what nix-darwin adds:

image

It'd be great if information could be added that indicates that the mysterious entries belong to nix-darwin.

hacker1024 avatar Oct 25 '22 06:10 hacker1024

At least some from those named sh are likely not from nix-darwin, but rather from the nix multiuser installation itself:

/Library/LaunchDaemons/org.nixos.activate-system.plist
/Library/LaunchDaemons/org.nixos.darwin-store.plist
/Library/LaunchDaemons/org.nixos.nix-daemon.plist
/Library/LaunchDaemons/org.nixos.postgresql.plist

To me it seems as if the dialog displays the program name of the respective launch agent/daemon. We could still change it, such that launch daemons/agents get wrapped in a script, whose name is perhaps a mandatory module option. This would not affect the nix installation, but any agents/daemons managed by nix-darwin. Thoughts?

dminuoso avatar Sep 26 '23 10:09 dminuoso