From 6f1e4888a2c4d27753287e6763318a80ed50667b Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sat, 21 Oct 2023 22:43:08 +0200 Subject: [PATCH] disable nix.gc.automatic on chonk --- hosts/chonk/builder.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/chonk/builder.nix b/hosts/chonk/builder.nix index e7c6918d..f7013d1d 100644 --- a/hosts/chonk/builder.nix +++ b/hosts/chonk/builder.nix @@ -2,6 +2,7 @@ self, config, pkgs, + lib, ... }: let psCfg = config.pub-solar; @@ -12,7 +13,10 @@ in { file = "${self}/secrets/chonk_nix_builder_private_key.age"; }; - nix.settings.trusted-users = ["builder"]; + nix = { + gc.automatic = lib.mkForce false; + settings.trusted-users = ["builder"]; + }; boot.binfmt.emulatedSystems = ["aarch64-linux"];