1
0
Fork 0

Move garbage-collection-command

This commit is contained in:
Malte Brandy 2019-04-29 02:06:22 +02:00
parent 756691fa13
commit f521d04163
2 changed files with 2 additions and 1 deletions

View file

@ -41,6 +41,8 @@ in {
};
systemd.services.nixos-upgrade.path = [ pkgs.gnutar pkgs.xz.bin pkgs.gitMinimal config.nix.package.out ];
nix.gc.options = "--delete-older-than 5d";
services = {
prometheus.exporters = {
node = {

View file

@ -15,7 +15,6 @@ config = mkIf config.m-0.server.enable {
nix = {
gc = {
automatic = true;
options = "--delete-older-than 5d";
};
optimise.automatic = true;
};