hedgie_ has joined #nix-darwin
hedgie has quit [Ping timeout: 244 seconds]
footlooseboss has joined #nix-darwin
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 264 seconds]
hedgie has joined #nix-darwin
hedgie_ has quit [Ping timeout: 240 seconds]
philr has joined #nix-darwin
philr_ has quit [Ping timeout: 240 seconds]
footlooseboss has quit [Quit: ...]
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 258 seconds]
xcmw has joined #nix-darwin
hedgie has quit [Read error: No route to host]
hedgie has joined #nix-darwin
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hedgie has quit [*.net *.split]
clever has quit [*.net *.split]
clever has joined #nix-darwin
hedgie has joined #nix-darwin
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nix-darwin
nikivi has quit [Client Quit]
nikivi has joined #nix-darwin
hedgie has quit [Read error: Connection reset by peer]
hedgie has joined #nix-darwin
ajs124 has quit [Quit: killed]
ajs124 has joined #nix-darwin
ris has quit []
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 240 seconds]
eraserhd has joined #nix-darwin
hedgie_ has joined #nix-darwin
hedgie has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 265 seconds]
xcmw has joined #nix-darwin
eraserhd has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eraserhd has joined #nix-darwin
xcmw has joined #nix-darwin
xcmw has quit [Client Quit]
hedgie has joined #nix-darwin
hedgie_ has quit [Ping timeout: 260 seconds]
eraserhd has quit [Ping timeout: 240 seconds]
xcmw has joined #nix-darwin
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 260 seconds]
eraserhd has joined #nix-darwin
eraserhd has quit [Ping timeout: 240 seconds]
eraserhd has joined #nix-darwin
<eraserhd> trying to figure out if there's a non-hacky way to add a config option for extra sudoers config
<eraserhd> I think it would have to update sudoers with `EDITOR=/some/hack/program visudo`.
<eraserhd> I guess it would be less hackish if it generate an entire sudoers and the program installed it.
<LnL> not enabled by default but sudoers.d makes that nicer
<eraserhd> wait, if the comment in it is right, it is enabled
<eraserhd> it's just that the command starts with a hash :(
<LnL> oh!
<LnL> isn't that good then? :)
<eraserhd> er, I mistyped :D hah
<eraserhd> So, hopefully it'll follow symlinks...
<LnL> yeah that's the other thing, I'm not sure how it behaves with a broken symlink (eg. store not mounted yet)
<LnL> that's one of the reasons I'd never replace /etc/sudoers itself by managing it
<eraserhd> uh oh... sudoers refuses to run if #include link in /etc/sudoers is broken ... perhaps I just messed up my system.
<eraserhd> haha ... ok, can't run sudo, have no root shells open :/
<LnL> uhoh, safe boot?
<eraserhd> actually disabled by my company
<LnL> that's ideal
<eraserhd> let's see, no password for root, so I can't use login
<LnL> yeah I usually setup a password for root in case I mess something like this up
<LnL> and there was also that root login thing a while back...
<eraserhd> aha, I apparently can use Finder to change permissions
<LnL> right, the permission dialog boxes still work?
<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]
xcmw has joined #nix-darwin
philr has joined #nix-darwin
eraserhd has joined #nix-darwin