Added nix automatic gc

This commit is contained in:
EsVagy42 2026-02-18 09:24:25 +01:00
parent c9658639b3
commit b4daff252a
2 changed files with 6 additions and 1 deletions

View file

@ -1 +1 @@
Removed nh Added nix automatic gc

View file

@ -120,6 +120,11 @@ in
"flakes" "flakes"
]; ];
nix.settings.auto-optimise-store = true; nix.settings.auto-optimise-store = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = false; boot.loader.systemd-boot.enable = false;