cmacrae has left #nix-darwin ["ERC (IRC client for Emacs 27.0.90)"]
__Sander__ has joined #nix-darwin
__Sander__ has quit [Ping timeout: 256 seconds]
<eraserhd3>
hmm, if I make a launchd agent and I don't set UserName, it doesn't seem to get a $HOME set.
eraserhd3 is now known as eraserhd
<eraserhd>
I'm not sure how to work around that.
<eraserhd>
ohh, it's running as root??
<eraserhd>
That doesn't seem right. I thought daemons run as specific users, and agents ran as logged-in user.
__monty__ has quit [Quit: leaving]
<eraserhd>
Also, only slightly related, I want to set some environment variables for gui apps, including Terminal, and also for a launch agent. Why not set up the user environment with launchctl setenv instead of putting it in shell init (which doesn't run at login on Mac).
<eraserhd>
er, that was meant as a question
<LnL>
systemd also as a completely empty environment by default