From b212b16a14ea12384c4b19ad453076502855a738 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 27 Jun 2024 18:10:21 +0300 Subject: 2024-06-27 --- modules/common/nix.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/common/nix.nix') 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"; }; }; -- cgit v1.2.3