1
0
Fork 0

Cleanup old, none flake things

This commit is contained in:
Sandro - 2023-01-17 00:35:16 +01:00
parent 547ad2e011
commit 29fc3eb50a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 8 additions and 6 deletions

View File

@ -56,6 +56,14 @@
};
nix = {
deleteChannels = true;
deleteUserProfiles = true;
gc = {
automatic = lib.mkDefault true;
dates = "06:00";
options = "--delete-older-than 21d";
randomizedDelaySec = "6h";
};
settings = {
builders-use-substitutes = true; # TODO: move
connect-timeout = 20;
@ -69,12 +77,6 @@
lib.mkBefore [ "https://nix-serve.hq.c3d2.de" ]
);
};
gc = {
automatic = lib.mkDefault true;
dates = "06:00";
options = "--delete-older-than 21d";
randomizedDelaySec = "6h";
};
};
# trust sandro to set good defaults in nixos-modules