<tilpner>
^ Please put that somewhere else if you find a more appropriate page!
<makefu>
tilpner: i think the article you chose is fitting :)
<makefu>
at least for now, if there are more quirks we could think of a subpage
<infinisil>
tilpner: interesting, i haven't thought about using specialArgs like this
<tilpner>
infinisil - It's a little ugly because it's not so easy to make nixos-rebuild pass specialArgs properly, but it's still the second-best option after nix-channel
<tilpner>
(AFAICT, of course)
<infinisil>
You can just import a nix function from elsewhere I guess, but that's not much nicer
<tilpner>
You can't really, without NIX_PATH
<tilpner>
You always have to pass a relative or absolute path, so your module breaks either when moving the system config as a whole, or when moving the module inside the system config
<infinisil>
Hmm.. maybe it's possible to use config.lib without getting infinite recursion
<tilpner>
Mic92 - I don't mind having obscure Nix expressions, but I'd like to keep the command lines as simple and short as possible
<tilpner>
Mic92 - And given that Nix 2.0 NIX_PATH dropped (perhaps temporarily) the searching behaviour (NIX_PATH=/foo/bar was valid), I don't really see this "search amongst all modules in these directories" happening
<Mic92>
tilpner: I don't know the whole story here.
<tilpner>
Oh, edolstra PR'd this
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-wiki
<tilpner>
This would become a lot easier if it was possible to set NIX_PATH elements from modules
<tilpner>
(And have it take effect immediately, not like nix.nixPath)
<infinisil>
Meh
<infinisil>
NIX_PATH is like the entry point of nixpkgs, it's one of the few stateful things, don't know if it makes sense to be able to set it like this
jtojnar has joined #nixos-wiki
orivej has joined #nixos-wiki
orivej has quit [Ping timeout: 264 seconds]
jtojnar_ has joined #nixos-wiki
jtojnar has quit [Quit: jtojnar]
jtojnar_ has quit [Remote host closed the connection]
jtojnar has joined #nixos-wiki
jtojnar has quit [Ping timeout: 260 seconds]
jtojnar has joined #nixos-wiki
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar has joined #nixos-wiki
jtojnar has quit [Ping timeout: 256 seconds]
jtojnar_ has joined #nixos-wiki
jtojnar_ has quit [Remote host closed the connection]