stockholm/lass/2configs/gc.nix
2021-10-25 20:16:00 +02:00

10 lines
224 B
Nix

{ 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";
};
}