nixos/common: Add automatic Nix store GC
This commit is contained in:
parent
88d0701689
commit
796e1582a3
@ -52,6 +52,10 @@ in
|
|||||||
trusted-users = [ "@wheel" ];
|
trusted-users = [ "@wheel" ];
|
||||||
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
|
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
|
||||||
};
|
};
|
||||||
|
gc = {
|
||||||
|
options = mkDefault "--max-freed $((8 * 1024**3))";
|
||||||
|
automatic = mkDefault true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
overlays = [
|
overlays = [
|
||||||
|
Loading…
Reference in New Issue
Block a user