forgejo: init actions runner
All checks were successful
/ test (push) Successful in 1s

This commit is contained in:
notohh 2023-10-05 14:45:45 -04:00
parent fbeb360a9c
commit c2392d759c
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -1,4 +1,8 @@
{lib, ...}: {
{
lib,
config,
...
}: {
services.forgejo = {
enable = true;
stateDir = "/var/lib/forgejo";
@ -10,7 +14,7 @@
};
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "https://gitea.com";
DEFAULT_ACTIONS_URL = "https://code.forgejo.org";
};
server = {
HTTP_PORT = 3200;
@ -32,4 +36,15 @@
};
};
};
services.gitea-actions-runner.instances.main = {
enable = true;
name = config.networking.hostName;
url = "https://git.flake.sh";
token = "WJXKbVSyfUVpeJYiFpRlf04CyxDS0mYG7at8B9kX";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
};
}