From 63f1089613c2cd28556b9a6e102655db1b27f61c Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 9 Oct 2022 15:42:14 +0100 Subject: [PATCH] nixos/common: Disable nix-gc in containers --- nixos/modules/containers.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/containers.nix b/nixos/modules/containers.nix index b4fa612..a7a47ff 100644 --- a/nixos/modules/containers.nix +++ b/nixos/modules/containers.nix @@ -245,6 +245,10 @@ in } ]; + nix = { + gc.automatic = false; + }; + my = { tmproot = { enable = true;