<wadkar>
thanks LnL - I am going through nix-darwin
<gchristensen>
woo! welcome
<wadkar>
thanks - really excited about the possibilities
<wadkar>
not really sure where to start though :D
<wadkar>
I usually `brew cask install firefox chromium iterm2 && brew install git zsh tmux` to kick things off. But I thought I would write some .nix files first
<domenkozar[m]>
and let us know if anything is unclear in there :)
<wadkar>
thanks! I did come across that page, but wasn't sure what's happening. So I am currently going back and forth between the manual and the blog post.
<wadkar>
and digging through nix-darwin repo, of course
<wadkar>
I will ask if I get stuck, thanks domenkozar[m] :-)
hmpffff has quit [Quit: nchrrrr…]
<wadkar>
I was concerned about backing up /etc/zshrc and the type of modifications nix-darwin will make to it; the blog suggests `sudo mv`, but I thought `sudo cp` might be a better approach?
<LnL>
currently nix-darwin doesn't touch any existing files for safety
<LnL>
so copying would result in them not being touched at all
<LnL>
I wish there was a way to make patch not fail if the changes are already applied
<LnL>
it can auto reverse them, but not detect a difference between already applied and conflicting
<domenkozar[m]>
LnL: btw would be cool to get rid of channels
<domenkozar[m]>
those are really confusing state to the users
<domenkozar[m]>
or maybe you want to wait for flakes :)
<LnL>
what do you mean?
<domenkozar[m]>
well basically no nix-channel invocation
<LnL>
channels are the standard way of distributing expressions, call them deprecated all you want, I don't want to force IFD
<LnL>
definitively up for adding flake support, but that's still experimental
<domenkozar[m]>
yeah I don't think flakes are in a state to solve that
<domenkozar[m]>
I'd use fetchTarball probably
<domenkozar[m]>
or NIX_PATH=https://...
<domenkozar[m]>
probably best to wait for flakes though.
<LnL>
that works if you want
<domenkozar[m]>
ok, but you want to stick the default to nix-channel?
<LnL>
only special thing currently is that it forces you to define NIX_PATH entries for darwin/nixpkgs so you don't end up in a state where you can't rebuild without extra stuff anymore
<domenkozar[m]>
dunno - I avoid channel for last few years and advise anyone the same
<abathur>
it may be a little much to play with while you're trying to get your sea legs
<LnL>
I haven't really, busy doing other stuff :)
<LnL>
sounds like something that would be nice to avoid for the hydra infrastructure if it's ever updated to catalina
<LnL>
domenkozar[m]: have you used flakes together with modules yet?
__monty__ has quit [Ping timeout: 272 seconds]
<abathur>
LnL: no worries, just planning to go ahead and file an issue tonight or this weekend; wanted to shake the tree a bit first to see if fresh eyes reframe the issue or if others experience it on a similar scale or not
__monty__ has joined #nix-darwin
__monty__ has quit [Ping timeout: 240 seconds]
__monty__ has joined #nix-darwin
nikivi has quit [Remote host closed the connection]
nikivi has joined #nix-darwin
nikivi has quit [Read error: Connection reset by peer]
nikivi has joined #nix-darwin
nikivi has quit [Remote host closed the connection]
nikivi has joined #nix-darwin
<domenkozar[m]>
LnL: nope
<LnL>
yeah, I think that's not really figured out yet
<LnL>
nix-darwin/home-manager might be a good playing ground to figure out what that should look like