From b2384d844dacd72e38a2c5f475076d5443e4d69d Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Fri, 6 Nov 2020 05:21:37 +0000 Subject: [PATCH] clouvider-lon01: disable automatic nix-gc It's used as a Nix build cache machine - since we don't have gcroot generation, it's better to just not collect garbage for the moment. --- ops/nixos/clouvider-lon01/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ops/nixos/clouvider-lon01/default.nix b/ops/nixos/clouvider-lon01/default.nix index 77528766be..b93099d110 100644 --- a/ops/nixos/clouvider-lon01/default.nix +++ b/ops/nixos/clouvider-lon01/default.nix @@ -246,5 +246,7 @@ in { home = "/srv/gitlab-runner"; }; + nix.gc.automatic = false; + system.stateVersion = "20.09"; }