I would like to point
~/.nix-defexpr/channels instead of
~/.nix-defexpr/channels_root as currently. I don't want to have to type that every time I run
nix-env. What's the right way of doing that?
I still want to know how to do it via configuration, but imperatively through an expression written in a file I can do
$ nix-env -if /this/file.nix -I ~/.nix-defexpr/channels
This way I'll be using the user's channels. Without it
~/.nix-defexpr/channels_root is read instead. Which is what I'm trying to avoid here.