diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-06-27 18:10:21 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-06-27 18:10:21 +0300 |
commit | b212b16a14ea12384c4b19ad453076502855a738 (patch) | |
tree | defd42780c334342e82d59ac927ae070e9af5fd7 /modules/common/nix.nix | |
parent | 2024-06-24 (diff) |
2024-06-27
Diffstat (limited to '')
-rw-r--r-- | modules/common/nix.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/common/nix.nix b/modules/common/nix.nix index 3342113..aad7106 100644 --- a/modules/common/nix.nix +++ b/modules/common/nix.nix @@ -141,7 +141,6 @@ in }; environment = { - localBinInPath = true; defaultPackages = [ ]; systemPackages = with pkgs; @@ -150,7 +149,7 @@ in nixfiles ]; variables = { - NIXFILES = "${config.my.home}/src/nixfiles"; + NIXFILES = optionalString this.isHeadful "${config.my.home}/src/nixfiles"; NIX_SHELL_PRESERVE_PROMPT = "1"; }; }; |