This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-07-02 19:04:48 +02:00
parent 7356853a1d
commit 295277ad00
2 changed files with 12 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
./system-modules/sound.nix
./system-modules/fonts.nix
./system-modules/boot.nix
./system-modules/gc.nix
./system-modules/dm.nix
./system-modules/networking.nix
./system-modules/virtualisation.nix

11
system-modules/gc.nix Normal file
View File

@@ -0,0 +1,11 @@
{ ... }:
{
nix = {
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
settings.auto-optimise-store = true;
};
}