diff options
author | Graham Christensen <graham@grahamc.com> | 2018-04-02 15:02:43 -0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2018-05-01 06:30:31 -0400 |
commit | 8ab8d9cb74e75de46e647a5d77c137f7ef3ebd2b (patch) | |
tree | 47edc8db2056c8421f0ac981f22104915dd60e4c /nixos/modules/services/misc/nix-daemon.nix | |
parent | 2f0e2376ac45f8ee7724c35df5c72b11f9e03418 (diff) | |
download | nixpkgs-8ab8d9cb74e75de46e647a5d77c137f7ef3ebd2b.tar nixpkgs-8ab8d9cb74e75de46e647a5d77c137f7ef3ebd2b.tar.gz nixpkgs-8ab8d9cb74e75de46e647a5d77c137f7ef3ebd2b.tar.bz2 nixpkgs-8ab8d9cb74e75de46e647a5d77c137f7ef3ebd2b.tar.lz nixpkgs-8ab8d9cb74e75de46e647a5d77c137f7ef3ebd2b.tar.xz nixpkgs-8ab8d9cb74e75de46e647a5d77c137f7ef3ebd2b.tar.zst nixpkgs-8ab8d9cb74e75de46e647a5d77c137f7ef3ebd2b.zip |
Add user channels to the default nix path
Diffstat (limited to 'nixos/modules/services/misc/nix-daemon.nix')
-rw-r--r-- | nixos/modules/services/misc/nix-daemon.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index ea964fd68e4..d2d29962ce6 100644 --- a/nixos/modules/services/misc/nix-daemon.nix +++ b/nixos/modules/services/misc/nix-daemon.nix @@ -338,7 +338,9 @@ in nixPath = mkOption { type = types.listOf types.str; default = - [ "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs" + [ + "$HOME/.nix-defexpr/channels" + "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs" "nixos-config=/etc/nixos/configuration.nix" "/nix/var/nix/profiles/per-user/root/channels" ]; |