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

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