<LnL>
that's what applications generally use if it's not a helper tool
<eraserhd>
whew, fixed
<eraserhd>
note to self: KEEP A ROOT SHELL OPEN IF SCREWING WITH SUDOERS.
<eraserhd>
Also, does everybody find it impossible to find things with Finder, or is that just me?
<LnL>
yeah finder is pretty bad
<LnL>
related, be _very_ careful if you touch /var/db
<LnL>
some things in there are pretty important
<eraserhd>
otoh, if I screw it up, they'll have to give me the firmware password
<LnL>
I did something wrong there once and my machine supposedly didn't have any users anymore
<eraserhd>
heh
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<abathur>
I fiddled w/ sudoers for the first time recently and wondered the whole time, given the warnings about it, how likely I was to mess it up; good point on opening a root shell first
<abathur>
can't say I enjoyed the experience
xcmw has joined #nix-darwin
<abathur>
I wanted something more precise/contextual? like, allow launchd, for just this agent, for just this backup script, to run exactly this openvpn command w/o a sudo prompt
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eraserhd has quit [Ping timeout: 258 seconds]
eraserhd has joined #nix-darwin
<LnL>
any reason to put that in an agent instead of daemon?
Jake[m] has joined #nix-darwin
<Jake[m]>
How do I set up the yabai window manager? I added `services.yabai.enable = true;` and `services.skhd.enable = true;` to my `configuration.nix`, but "nothing happened". I've never used yabai or skhd before without nix-darwin, so to be honest I'm not sure if I need to configure something further.
<eraserhd>
I think yabai doesn't do much without config. My config sets enable = true; package = pkgs.yabai; extraConfig = '' ... some shell config ... '';
<eraserhd>
Also, it doesn't have hotkeys itself, so you'll need to set up skhd (or something similar).
<eraserhd>
er, I see you have it enabled, but you will also have to configure skhd, since it will have no keys bound by default.
<eraserhd>
It is definitely a "here's all the pieces you need" thing and not a "out of the box" thing
<Jake[m]>
gotcha, thanks for the info. so i'll look at the skhd documentation and figure it out.
<Jake[m]>
is there a reason `services.yabai.package` isn't `pkgs.yabai` by default?
eraserhd has quit [Ping timeout: 240 seconds]
eraserhd has joined #nix-darwin
<eraserhd>
Jake[m]: I think I learned about a reason, but I don't remember what it was.
xcmw has joined #nix-darwin
eraserhd has quit [Ping timeout: 240 seconds]
<LnL>
it's not in the stable release yet
eraserhd has joined #nix-darwin
hedgie_ has joined #nix-darwin
hedgie has quit [Ping timeout: 244 seconds]
eraserhd has quit [Ping timeout: 258 seconds]
<abathur>
LnL: was mostly-example, I actually ran into it with a cron job; I don't remember exactly why, but I couldn't run the whole thing as root (maybe root was messing up the perms in my single-user store?), so I had to upgrade mid-job and was trying to keep it narrow
xcmw has quit [Read error: Connection reset by peer]