[modules/base-system] Make nix garbage collection less aggressive

This commit is contained in:
Malte Tammena 2022-03-30 12:13:21 +02:00
parent ce9c2ab48f
commit 983398c963

View file

@ -105,11 +105,10 @@
};
networking.firewall.allowedUDPPorts = [config.services.tailscale.port];
# Regularly clear the store, since the storage is quite small
# The store is optimized ~04:00, so let's clear it before that
# Regularly clear the store
nix.gc = {
automatic = true;
dates = "03:00";
dates = lib.mkDefault "weekly";
};
# Enable store optimiser
nix.optimise = {