switch to forgejo actions #5

Merged
notohh merged 17 commits from actions-testing into master 2023-10-05 16:31:15 -04:00
Showing only changes of commit c2392d759c - Show all commits

View file

@ -1,4 +1,8 @@
{lib, ...}: { {
lib,
config,
...
}: {
services.forgejo = { services.forgejo = {
enable = true; enable = true;
stateDir = "/var/lib/forgejo"; stateDir = "/var/lib/forgejo";
@ -10,7 +14,7 @@
}; };
actions = { actions = {
ENABLED = true; ENABLED = true;
DEFAULT_ACTIONS_URL = "https://gitea.com"; DEFAULT_ACTIONS_URL = "https://code.forgejo.org";
}; };
server = { server = {
HTTP_PORT = 3200; 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"
];
};
} }