Automatic garbage collection

This commit is contained in:
Filippo Berto 2022-08-06 14:18:02 +02:00
parent d03913d61c
commit 3f058b5726
5 changed files with 6 additions and 6 deletions

View file

@ -236,10 +236,6 @@ with lib;
package = pkgs.nixFlakes;
extraOptions = lib.optionalString (config.nix.package == pkgs.nixFlakes)
"experimental-features = nix-command flakes";
gc = {
automatic = true;
options = "--delete-older-than 7d";
};
};
# This value determines the NixOS release from which the default