diff --git a/base.nix b/base.nix index 0cf9acb..a373332 100644 --- a/base.nix +++ b/base.nix @@ -47,6 +47,10 @@ nix.gc.automatic = true; nix.gc.dates = "weekly"; nix.gc.options = "--delete-older-than 30d"; + nix.extraOptions = '' + min-free = ${toString (1 * 1024 * 1024 * 1024)} + max-free = ${toString (5 * 1024 * 1024 * 1024)} + ''; services.thermald.enable = lib.mkIf (config.nixpkgs.system == "x86_64-linux") true;