summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-05-01 15:49:56 +0200
committerlassulus <lassulus@lassul.us>2018-05-01 15:49:56 +0200
commita7595f3ab19b8e94696fdca18c0b78cc605281b3 (patch)
tree1aa8f7ba6db5c41f80604c3ac39acacf6cc47dd8 /lass/2configs
parent652b540d4b9978e0b01d6dad0feb725fd79a13d4 (diff)
l gc: don't gc on containers
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/gc.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/2configs/gc.nix b/lass/2configs/gc.nix
index ad015180a..c5073e384 100644
--- a/lass/2configs/gc.nix
+++ b/lass/2configs/gc.nix
@@ -3,6 +3,6 @@
with import <stockholm/lib>;
{
nix.gc = {
- automatic = ! elem config.krebs.build.host.name [ "prism" "mors" "helios" ];
+ automatic = ! (elem config.krebs.build.host.name [ "prism" "mors" "helios" ] || config.boot.isContainer);
};
}