diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix index 1a211b8c84fc..dce757ceb623 100644 --- a/nixos/modules/programs/environment.nix +++ b/nixos/modules/programs/environment.nix @@ -25,10 +25,10 @@ in environment.sessionVariables = { NIX_PATH = - [ "/nix/var/nix/profiles/per-user/root/channels" - "/nix/var/nix/profiles/per-user/root/channels/nixos" + [ "/nix/var/nix/profiles/per-user/root/channels/nixos" "nixpkgs=/etc/nixos/nixpkgs" "nixos-config=/etc/nixos/configuration.nix" + "/nix/var/nix/profiles/per-user/root/channels" ]; };