🚀 enables nix gc and optimise

This commit is contained in:
Moritz Böhme 2022-01-09 14:15:05 +01:00
parent b47f7ba4f5
commit a697be901f

View file

@ -2,4 +2,9 @@
{ {
nix.package = pkgs.nixFlakes; nix.package = pkgs.nixFlakes;
nix.gc = {
automatic = true;
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
};
nix.optimise.automatic = true;
} }