nixos/system-nixconf: include best-effort {min,max}-free by default

This commit is contained in:
Primrose 2026-01-04 22:14:25 +01:00
parent 904c554f77
commit fd27e13ef2
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -8,6 +8,10 @@
package = lib.mkDefault pkgs.nix; package = lib.mkDefault pkgs.nix;
settings = { settings = {
# Try to have at least 10GB of space by default
min-free = lib.mkDefault (5 * 1024 * 1024 * 1024);
max-free = lib.mkDefault (10 * 1024 * 1024 * 1024);
extra-substituters = [ extra-substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
]; ];