forgejo runner

This commit is contained in:
Nathan McCarty 2025-07-15 01:47:41 -04:00
parent bd16449cc8
commit 22e748c689

View file

@ -73,6 +73,23 @@
guiAddress = "100.64.0.3:8384";
};
# Forgejo runner
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instaces.default = {
enable = true;
name = "driftwood";
url = "https://git.stranger.systems";
tokenFile = "/var/secrets/foregejo-runner";
labels = [
# provide a debian base with nodejs for actions
"debian-latest:docker://node:18-bullseye"
# fake the ubuntu name, because node provides no ubuntu builds
"ubuntu-latest:docker://node:18-bullseye"
];
};
};
# Allow reboot on autoupgrades
system.autoUpgrade = {
allowReboot = true;