summaryrefslogtreecommitdiff
path: root/modules/common/nix.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-06-27 18:10:21 +0300
committerAzat Bahawi <azat@bahawi.net>2024-06-27 18:10:21 +0300
commitb212b16a14ea12384c4b19ad453076502855a738 (patch)
treedefd42780c334342e82d59ac927ae070e9af5fd7 /modules/common/nix.nix
parent75918debfd7245d90478f882b0323a705ab3c7be (diff)
2024-06-27
Diffstat (limited to 'modules/common/nix.nix')
-rw-r--r--modules/common/nix.nix3
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";
};
};