add mount for gitea runner

This commit is contained in:
2023-12-06 09:55:11 +01:00
parent 4d6118a021
commit 7c759b702f

View File

@@ -48,8 +48,6 @@ in
hostPath = "/var/lib/gitea/"; hostPath = "/var/lib/gitea/";
isReadOnly = false; isReadOnly = false;
}; };
};
bindMounts = {
"/var/lib/acme/gitea/" = { "/var/lib/acme/gitea/" = {
hostPath = "${config.security.acme.certs.${domain}.directory}"; hostPath = "${config.security.acme.certs.${domain}.directory}";
isReadOnly = true; isReadOnly = true;
@@ -133,6 +131,10 @@ in
hostPath = config.sops.secrets.gitea-runner-token.path; hostPath = config.sops.secrets.gitea-runner-token.path;
isReadOnly = true; isReadOnly = true;
}; };
"/var/lib/gitea-runner" = {
hostPath = "/var/lib/gitea-runner/";
isReadOnly = false;
};
}; };
config = { lib, config, pkgs, ... }: { config = { lib, config, pkgs, ... }: {
networking = { networking = {