gc
This commit is contained in:
@@ -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
11
system-modules/gc.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ ... }:
|
||||
{
|
||||
nix = {
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
settings.auto-optimise-store = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user