diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-09 22:16:57 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-09 22:16:57 +0530 |
| commit | d5cc9670dfca394b8f3367921eff0f2806841ff3 (patch) | |
| tree | 6fc2ddd82e0df8696b8db5450c25da14461f5df9 /modules/core/global.nix | |
| parent | 118254ebccbf7414872998cf956f9b586f734386 (diff) | |
update
Diffstat (limited to 'modules/core/global.nix')
| -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; |
