dongcarl has quit [Read error: Connection reset by peer]
<DigitalKiwi>
gchristensen: i'm not worried so much about that kind of changes i still have to add mypy and stuff and i know it's going to need a lot of work i guess i'm just not confident in my python or familiar with nixops internals to know if it's even "right" despite seemingly working (and i'm also not sure it always works either so if anyone wants to test... :P )
<DigitalKiwi>
something like "lgtm you're on the right track keep it up" vs "this is wrong (while there's not a lot of stuff that can be wrong) course correct before you end up with even more of a mess"
<DigitalKiwi>
i saw multiple different ways of doing that same thing in different places and i didn't know why
abathur has joined #nixops
nuncanada has joined #nixops
nuncanada has quit [Ping timeout: 258 seconds]
nuncanada has joined #nixops
nuncanada2 has joined #nixops
nuncanada has quit [Ping timeout: 272 seconds]
bhipple has joined #nixops
kreetx has quit [Quit: WeeChat 2.7.1]
nuncanada2 has quit [Ping timeout: 272 seconds]
nuncanada has joined #nixops
nuncanada has quit [Ping timeout: 272 seconds]
blumenkranz has joined #nixops
<blumenkranz>
Hello. I've been reading on NixOps and nixpkgs pinning, and I still don't know what's the best way to do it. Most people seem to recommend using a nix-shell to set NIX_PATH, but I found you can also use nix.nixPath, which I find "cleaner". However, I find conflicting information on how to use nix.nixPath. Some users say it has to be set in the logical deployment (as it would make sense), but others
<blumenkranz>
say it doesn't work, and one says it has to be set on the deploy host as well. Does anyone here know whether setting nix.nixPath only in the logical configuration of the target works reliably?
<gchristensen>
nix.nixPath doesn't set the version of nixpkgs used to create your system, it will set the version of nixpkgs used when you use Nix on the system
<blumenkranz>
gchristensen: Oh, that makes sense. So basically, it will only work on second deployment, right?
<gchristensen>
no, it still won't work because presumably you're not deploying from the system you are setting the nixPath on
<blumenkranz>
Alright, that makes sense. Do you happen to know why NixOps was designed without a way to declaratively pin the used nixpkgs version?