summaryrefslogtreecommitdiffstats
path: root/lass/2configs/gc.nix
blob: f9c61c4610608c96bf975241c6fd0a127c1da13f (plain)
1
2
3
4
5
6
7
8
9
{ config, ... }:

with import <stockholm/lib>;
{
  nix.gc = {
    automatic = ! (elem config.krebs.build.host.name [ "mors" "xerxes" ] || config.boot.isContainer);
    options = "--delete-older-than 15d";
  };
}