Add garabage collection

This commit is contained in:
armel committed 2026-01-31 12:07:33 +01:00
1 parent 4a6b9c67d0
commit 8f2633c115
2 files changed
+13

No files matched your search

+1
View File
@@ -11,6 +11,7 @@
../modules/programs.nix ../modules/programs.nix
../modules/gaming.nix ../modules/gaming.nix
../modules/obs-studio.nix ../modules/obs-studio.nix
../modules/garbage-collection.nix
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
+12
View File
@@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
nix = {
settings.auto-optimise-store = true;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
}