nixos/common: Add automatic Nix store GC

This commit is contained in:
Jack O'Sullivan 2022-06-06 13:24:46 +01:00
parent 88d0701689
commit 796e1582a3

View File

@ -52,6 +52,10 @@ in
trusted-users = [ "@wheel" ];
experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
};
gc = {
options = mkDefault "--max-freed $((8 * 1024**3))";
automatic = mkDefault true;
};
};
nixpkgs = {
overlays = [