From 7c759b702fe37409b3e89f0cabe556b31d003219 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Wed, 6 Dec 2023 09:55:11 +0100 Subject: [PATCH] add mount for gitea runner --- hosts/fw.cloonar.com/modules/gitea.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/fw.cloonar.com/modules/gitea.nix b/hosts/fw.cloonar.com/modules/gitea.nix index b8090de..8e9e9fb 100644 --- a/hosts/fw.cloonar.com/modules/gitea.nix +++ b/hosts/fw.cloonar.com/modules/gitea.nix @@ -48,8 +48,6 @@ in hostPath = "/var/lib/gitea/"; isReadOnly = false; }; - }; - bindMounts = { "/var/lib/acme/gitea/" = { hostPath = "${config.security.acme.certs.${domain}.directory}"; isReadOnly = true; @@ -133,6 +131,10 @@ in hostPath = config.sops.secrets.gitea-runner-token.path; isReadOnly = true; }; + "/var/lib/gitea-runner" = { + hostPath = "/var/lib/gitea-runner/"; + isReadOnly = false; + }; }; config = { lib, config, pkgs, ... }: { networking = {