From 6b8c65b070caaa15e04cff05782e9715f8874ddf Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 25 Jun 2016 19:41:49 +0200 Subject: l 2: add automatic garbage collection --- lass/2configs/gc.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lass/2configs/gc.nix (limited to 'lass/2configs/gc.nix') diff --git a/lass/2configs/gc.nix b/lass/2configs/gc.nix new file mode 100644 index 000000000..8762ad95e --- /dev/null +++ b/lass/2configs/gc.nix @@ -0,0 +1,8 @@ +{ config, ... }: + +with config.krebs.lib; +{ + nix.gc = { + automatic = ! elem config.krebs.build.host.name [ "prism" "mors" ]; + }; +} -- cgit v1.2.3