From d4842c4986841fdccf4d6f613bd7afa39392a226 Mon Sep 17 00:00:00 2001 From: Nio Date: Fri, 8 May 2026 11:01:53 +0200 Subject: [PATCH] Garbage collection --- configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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;