nixos: set nixos in nixPath

This makes using the nixos channel work out of the box with the new
Nix commands. For example:

$ nix run nixos.firefox -c firefox

Fixes #46536
This commit is contained in:
Matthew Bauer 2018-09-23 00:14:27 -05:00
parent bd13ef5944
commit 67c8c49177

@ -347,6 +347,7 @@ in
[
"$HOME/.nix-defexpr/channels"
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
"nixos=/nix/var/nix/profiles/per-user/root/channels/nixos"
"nixos-config=/etc/nixos/configuration.nix"
"/nix/var/nix/profiles/per-user/root/channels"
];