add garbage collection to nixos hosts

This commit is contained in:
Yan Lin 2026-02-10 08:14:00 +01:00
parent 2cbfad36f0
commit 75ee874788
2 changed files with 14 additions and 0 deletions

View file

@ -16,6 +16,13 @@
systemd-boot.configurationLimit = 50;
efi.canTouchEfiVariables = true;
timeout = 3;
configurationLimit = 10;
};
nix.gc = {
automatic = true;
dates = "monthly";
options = "--delete-older-than 30d";
};
# Use latest kernel for better hardware support