stockholm/lass/2configs/gc.nix

10 lines
224 B
Nix
Raw Normal View History

2016-06-25 17:41:49 +00:00
{ config, ... }:
2016-10-20 18:54:38 +00:00
with import <stockholm/lib>;
2016-06-25 17:41:49 +00:00
{
nix.gc = {
2021-10-25 18:16:00 +00:00
automatic = ! (elem config.krebs.build.host.name [ "mors" "xerxes" "coaxmetal" ] || config.boot.isContainer);
2020-09-27 13:34:44 +00:00
options = "--delete-older-than 15d";
2016-06-25 17:41:49 +00:00
};
}