forgejo runner
This commit is contained in:
parent
bd16449cc8
commit
22e748c689
1 changed files with 17 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue