From 527a17a169103189a18c66f7e0167a9c6f38ddb7 Mon Sep 17 00:00:00 2001 From: shobu Date: Wed, 24 Dec 2025 17:20:40 +0100 Subject: [PATCH] bind mount local nix store to containers --- modules/gitea/thea/virtualisation.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gitea/thea/virtualisation.nix b/modules/gitea/thea/virtualisation.nix index 9519013..d3b8543 100644 --- a/modules/gitea/thea/virtualisation.nix +++ b/modules/gitea/thea/virtualisation.nix @@ -23,6 +23,8 @@ text = '' container: network: "host" + valid_volume: + - "/nix/store:/nix/store" ''; }; in @@ -42,7 +44,6 @@ }; volumes = [ "/var/run/docker.sock:/var/run/docker.sock" - "/nix/store:/nix/store" "${runner_config}:/config.yml:ro" ]; };