diff options
author | lassulus <lassulus@lassul.us> | 2018-05-01 15:49:56 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-05-01 15:49:56 +0200 |
commit | a7595f3ab19b8e94696fdca18c0b78cc605281b3 (patch) | |
tree | 1aa8f7ba6db5c41f80604c3ac39acacf6cc47dd8 /lass/2configs/gc.nix | |
parent | 652b540d4b9978e0b01d6dad0feb725fd79a13d4 (diff) |
l gc: don't gc on containers
Diffstat (limited to 'lass/2configs/gc.nix')
-rw-r--r-- | lass/2configs/gc.nix | 2 |
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); }; } |