stockholm/lass/2configs/gc.nix

10 lines
212 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 = {
2019-10-14 13:35:10 +00:00
automatic = ! (elem config.krebs.build.host.name [ "mors" "xerxes" ] || config.boot.isContainer);
2020-09-27 13:34:44 +00:00
options = "--delete-older-than 15d";
2016-06-25 17:41:49 +00:00
};
}