From 67c8c4917799496dcf2ad6a500441fbbaeb918c9 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sun, 23 Sep 2018 00:14:27 -0500 Subject: 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 --- nixos/modules/services/misc/nix-daemon.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index c0eb882c58f3..2d14e27ffc3d 100644 --- a/nixos/modules/services/misc/nix-daemon.nix +++ b/nixos/modules/services/misc/nix-daemon.nix @@ -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" ]; -- cgit 1.4.1