️ (hosts/system) change nix.optimise and nix.gc settings

This commit is contained in:
Laureηt 2024-01-12 16:07:09 +01:00
parent 65495f048d
commit 5646ad58a7
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
2 changed files with 11 additions and 3 deletions

View file

@ -6,12 +6,16 @@
}: {
# optimizations
nix.settings.auto-optimise-store = true;
nix.optimise = {
automatic = true;
dates = "daily";
};
# garbage collection
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
dates = "daily";
options = "--delete-older-than 14d";
};
# experimental features

View file

@ -16,11 +16,15 @@
# optimizations
nix.settings.auto-optimise-store = true;
nix.optimise = {
automatic = true;
dates = "daily";
};
# garbage collection
nix.gc = {
automatic = true;
dates = "weekly";
dates = "daily";
options = "--delete-older-than 30d";
};