misc: tone down aggression on nix garbage collector

This commit is contained in:
Katherina Walshe-Grey 2024-11-24 15:36:30 +00:00
parent c5472892d8
commit c573da7c34

View file

@ -1,7 +1,11 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
nix.gc.automatic = true; nix.gc = {
automatic = true;
dates = "weekly";
randomizedDelaySec = "45min";
};
nix.optimise.automatic = true; nix.optimise.automatic = true;
services.fstrim.enable = true; services.fstrim.enable = true;
} }