stockholm/lass/2configs/gc.nix
2020-09-27 15:34:44 +02:00

10 lines
212 B
Nix

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