Move garbage-collection-command
This commit is contained in:
parent
756691fa13
commit
f521d04163
2 changed files with 2 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
|
@ -15,7 +15,6 @@ config = mkIf config.m-0.server.enable {
|
|||
nix = {
|
||||
gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 5d";
|
||||
};
|
||||
optimise.automatic = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue