diff options
Diffstat (limited to 'modules/core')
| -rw-r--r-- | modules/core/global.nix | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/modules/core/global.nix b/modules/core/global.nix index fffe8ab..5ab647d 100644 --- a/modules/core/global.nix +++ b/modules/core/global.nix @@ -1,11 +1,20 @@ { pkgs, ... }: -{ - nix.settings = { - experimental-features = [ "nix-command" "flakes" ]; - auto-optimise-store = true; +let + nix_path = "/tmp/nix_path"; +in { + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + auto-optimise-store = true; + }; + nixPath = [ "nixpkgs=${nix_path}" ]; }; + systemd.tmpfiles.rules = [ + "L+ ${nix_path} - - - - ${pkgs.path}" + ]; + time.timeZone = "Asia/Kolkata"; networking.networkmanager.enable = true; |
