<gchristensen>
make sure the mode of LaunchAgents is 0600 or so
<puffnfresh>
"The user running the command must be logged in via the GUI. Then, the command will work over both SSH and with a local terminal on the machine." says Stackoverflow
hamishmack has joined #nix-darwin
<gchristensen>
I have no idea
<puffnfresh>
I went to log out via VNC but then it rebooted cause updates
<gchristensen>
do you vnc to your mac, too?
<puffnfresh>
script works fine after it booted back up
<puffnfresh>
yay it's working really well
<puffnfresh>
unable to open SSH connection to 'ssh://nix-linuxkit': cannot connect to 'nix-linuxkit'; trying other available machines...
<puffnfresh>
bugger
<puffnfresh>
oh I ran out of disk space!!
<puffnfresh>
gchristensen: the script works really well, but by default it uses 80GB!!
<cbarrett>
Havent messed with nix in a minute. Having some trouble with, well many things, but the permissions seem wrong on my nix store
<cbarrett>
I've definitely tried to fix this myself and have probably made it worse — beginner's luck
philr has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 260 seconds]
nD5Xjz has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
jtojnar_ has joined #nix-darwin
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ is now known as jtojnar
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
<adelbertc>
gchristensen: re: /LaunchAgents/ the only thing in mine were Spotify, Nix, and some other app
<adelbertc>
i imagine if you dont have an existing app that incidentally uses it
<adelbertc>
the dir prob doesnt exist
Axman6 has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
periklis has joined #nix-darwin
__Sander__ has joined #nix-darwin
jtojnar has joined #nix-darwin
periklis has quit [Ping timeout: 245 seconds]
philr has quit [Quit: WeeChat 2.1]
<LnL>
adelbertc: it's a system folder, it gets created when you add a user
periklis has joined #nix-darwin
<puffnfresh>
didn't exist on my system
<LnL>
huh, really?
<gchristensen>
puffnfresh: anything less than 80G seemed way too small for my team
<gchristensen>
puffnfresh: did you find thath the -configure program takes arguments?
<puffnfresh>
gchristensen: yeah I figured it out
<puffnfresh>
I said disk-size 5G and confused myself
<puffnfresh>
disk-size 5 worked great
<gchristensen>
cool, I should move some docs up to that level to make it easier
<gchristensen>
the runner (written in Rust) has great docs, but they're not really exposed :)
periklis has quit [Ping timeout: 264 seconds]
alexteves has quit [Read error: Connection reset by peer]
alexteves has joined #nix-darwin
alexteves_ has joined #nix-darwin
Lisanna has joined #nix-darwin
Sonarpulse has joined #nix-darwin
__Sander__ has quit [Quit: Konversation terminated!]
<cbarrett>
g'morning
philr has joined #nix-darwin
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
<LnL>
hey
jtojnar has quit [Quit: jtojnar]
Lisanna has quit [Quit: Lisanna]
Lisanna has joined #nix-darwin
<gchristensen>
hmmm interesting bug about installing multi-user on a system with username <-> userid conflicts
<LnL>
yeah, maybe we should just skip existing uids
<LnL>
we create a bunch more users than cores now so possibly skipping a couple should be fine
philr has quit [Ping timeout: 252 seconds]
alexteves_ has quit [Ping timeout: 264 seconds]
contrapumpkin has quit [Ping timeout: 245 seconds]
<gchristensen>
yeah
<gchristensen>
LnL: do you know where the default environment comes from, which is iherited by launchd global launchdaemons?
<LnL>
I think it's pretty except for maybe PATH from /usr/libexec/path_helper
<gchristensen>
dangg
Lisanna has quit [Remote host closed the connection]
<LnL>
but you can define stuff with launchctl setenv
<LnL>
but for path specifically some things extend the default path from path_helper like gpgtools
<LnL>
not sure how that works tho
<gchristensen>
that is eaasy, putting a file in /etc/paths.d/
<gchristensen>
anything in there is basically smushed in to the path directly
<LnL>
hmm, how's that related to https urls?
<LnL>
ah
<gchristensen>
I need to set a NIX_SSL_CERT_FILE
<LnL>
wait, maybe we shouls use that then
<LnL>
might fix the non interactive bash issues
<gchristensen>
I think we need more than jjust the path set?
<LnL>
in general yes, but not for nix-store --serve --write I think
<gchristensen>
ah!
<gchristensen>
LnL: do you think it'd bee an improvement if the launchdaemon file looked at /nix/var/nix/profile/deefault/bin/nix-daemon instead of the absolute path?
<LnL>
not sure, the current approach has some advantages IIRC