<Enzime>
LnL: any ideas why I'm getting: error: The option `services.synergy' defined in `/Users/enzime/.nixpkgs/darwin-configuration.nix' does not exist.
<Enzime>
but apparently the darwin channel is under /nix/var/nix/profiles/per-user/root/channels/darwin (root?)
<Enzime>
but running nix-channel --list as root only has nixpkgs
<Enzime>
if I check /nix/var/nix/profiles/per-user/enzime/channels/darwin it does have synergy (seems up to date with master)
<Enzime>
wondering where this root channel comes from
<LnL>
oh, there's a channel in both places?
<LnL>
you'll want to remove one and update both root and local then
<LnL>
nix-channel --remove doesn't actually change channels so you need to run an extra update afterwards
hamishmack has quit [Ping timeout: 252 seconds]
trcc_ has joined #nix-darwin
trcc has quit [Ping timeout: 268 seconds]
<Enzime>
LnL: which one is preferable?
<LnL>
whatever you prefer, but it's probably to put both channels in the same place
<LnL>
best*
periklis has joined #nix-darwin
trcc has joined #nix-darwin
trcc_ has quit [Ping timeout: 252 seconds]
trcc has quit [Ping timeout: 250 seconds]
jtojnar has joined #nix-darwin
periklis has quit [Ping timeout: 268 seconds]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
trcc has joined #nix-darwin
trcc has quit [Client Quit]
periklis has joined #nix-darwin
periklis has quit [Ping timeout: 252 seconds]
<pasukon>
I've been trying to wrap my head around the mental model of Nix, and not everything is super clear to me from the documentation as it relates to Darwin... I'd like to have a fairly declarative setup, but this seems like it's pretty much limited to NixOS. Am I wrong in thinking that the best way to get around that would be to just always work from nix-shell?
<gchristensen>
I always work in nix-shell
<pasukon>
cool, thanks. I feel like I'm headed in the right direction then
<cransom>
i lean on direnv heavily, but that is also just nix-shell with some duct tape
<LnL>
but making a global symlink tree introduces some of the problems that traditional package managers have, so nix-shell is the way to go for development and project specific dependencies