diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2016-12-15 14:37:31 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2016-12-15 14:37:31 +0100 |
| commit | 3e4583ee9a7d8cd4cdca96a8b332b0f859abeff8 (patch) | |
| tree | d8bec61105ad049fb912ec5efa049121a2824f00 /modules/nix/default.nix | |
| parent | 5949d2ed5da2c43cedc009202fccce7c8c9bc362 (diff) | |
change default nix.nixPath to work for single user installs
Diffstat (limited to 'modules/nix/default.nix')
| -rw-r--r-- | modules/nix/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix index 4268669..8e7ba02 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -284,10 +284,11 @@ in nixPath = mkOption { type = types.listOf types.str; default = - [ "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs" - "/nix/var/nix/profiles/per-user/root/channels" + [ # Incldue default paths for <darwin> and <darwin-config>. "darwin=$HOME/.nix-defexpr/darwin" "darwin-config=$HOME/.nixpkgs/darwin-configuration.nix" + "nixpkgs=$HOME/.nix-defexpr/channels/nixpkgs" + "$HOME/.nix-defexpr/channels" ]; description = '' The default Nix expression search path, used by the Nix |
