Automatic garbage collection
This commit is contained in:
parent
d4d0a5b274
commit
416c19b1c3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user