🚀 enables nix gc and optimise

dev-docs
Moritz Böhme 2022-01-09 14:15:05 +01:00
parent b47f7ba4f5
commit a697be901f
1 changed files with 5 additions and 0 deletions

View File

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