diff options
| author | Fuwn <[email protected]> | 2024-09-10 01:57:04 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-10 01:57:04 -0700 |
| commit | 4db8ce0222ce41cf8ed3351f4b131d69994fb028 (patch) | |
| tree | 0eda1fd6ca3a40e9a7a57e15707a6b30180811a5 /modules/nix | |
| parent | Bump (diff) | |
| download | nixos-config-4db8ce0222ce41cf8ed3351f4b131d69994fb028.tar.xz nixos-config-4db8ce0222ce41cf8ed3351f4b131d69994fb028.zip | |
Bump
Diffstat (limited to 'modules/nix')
| -rw-r--r-- | modules/nix/default.nix | 14 | ||||
| -rw-r--r-- | modules/nix/nh.nix | 6 |
2 files changed, 4 insertions, 16 deletions
diff --git a/modules/nix/default.nix b/modules/nix/default.nix index e6a5b08..a916862 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -10,6 +10,9 @@ programs.nix-index-database.comma.enable = true; nix = { + gc.automatic = true; + optimise.automatic = true; + settings = { auto-optimise-store = true; http-connections = 0; @@ -74,16 +77,5 @@ "dynamic-derivations" ]; }; - - gc = { - automatic = true; - dates = "03:00"; - options = "--delete-older-than 3d"; - }; - - optimise = { - automatic = true; - dates = [ "04:00" ]; - }; }; } diff --git a/modules/nix/nh.nix b/modules/nix/nh.nix index 29481a6..70951c0 100644 --- a/modules/nix/nh.nix +++ b/modules/nix/nh.nix @@ -1,10 +1,6 @@ { programs.nh = { enable = true; - - clean = { - enable = false; - extraArgs = "--keep-since 3d --keep 3"; - }; + clean.enable = false; }; } |