feat(gitea): add ci runner

This commit is contained in:
2026-05-28 11:39:34 +02:00
parent 817ed30cdb
commit 107ac22292
3 changed files with 24 additions and 5 deletions
+12 -2
View File
@@ -1,6 +1,6 @@
{ ... }:
{ config, ... }:
{
services.gitea = {
config.services.gitea = {
enable = true;
settings = {
server = {
@@ -11,4 +11,14 @@
service.DISABLE_REGISTRATION = true;
};
};
config.virtualisation.oci-containers.containers.gitea-act-runner = {
image = "docker.io/gitea/act_runner:latest";
environmentFiles = [
config.sops.templates."gitea_runner.env".path
];
volumes = [
"/var/run/docker.sock:/var/run/docker.sock"
];
};
}