stockholm/lass/2configs/gc.nix
2023-09-03 12:05:08 +02:00

10 lines
233 B
Nix

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