diff --git a/configuration.nix b/configuration.nix index 98345c0..03dfead 100644 --- a/configuration.nix +++ b/configuration.nix @@ -29,6 +29,19 @@ # Flake nix.settings.experimental-features = [ "nix-command" "flakes" ]; + # Garbage collection + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + + # Storage optimisation + nix.optimise = { + automatic = true; + dates = [ "weekly" ]; + }; + # Enable networking networking.networkmanager.enable = true;