mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
nixos/system-nixconf: include best-effort {min,max}-free by default
This commit is contained in:
parent
904c554f77
commit
fd27e13ef2
1 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue