1
0

Automatic garbage collection

This commit is contained in:
clerie 2021-06-18 12:45:26 +02:00
parent d4d0a5b274
commit 416c19b1c3

View File

@ -38,6 +38,12 @@
services.openssh.challengeResponseAuthentication = false; services.openssh.challengeResponseAuthentication = false;
services.openssh.permitRootLogin = lib.mkDefault "no"; services.openssh.permitRootLogin = lib.mkDefault "no";
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
services.nginx = { services.nginx = {
enableReload = true; enableReload = true;
recommendedGzipSettings = true; recommendedGzipSettings = true;