summaryrefslogtreecommitdiffstats
path: root/lass/2configs/gc.nix
blob: 224a6cbb9ed45da1414cadf2d7cb8a314856aaf9 (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" "coaxmetal" ] || config.boot.isContainer);
    options = "--delete-older-than 15d";
  };
}