diff --git a/flake.nix b/flake.nix index c613331..78bd871 100644 --- a/flake.nix +++ b/flake.nix @@ -104,7 +104,13 @@ home-manager.nixosModules.home-manager { - nix.gc.automatic = true; + nix.gc = { + automatic = true; + dates = "daily"; + options = "--delete-older-than 1w"; + persistent = true; + }; + nix.settings.experimental-features = [ "nix-command" "flakes"