1
1
Fork 0

Try gitea runners

main
Bill Ewanick 2023-09-26 17:57:31 -04:00
parent 6b49cc94ba
commit 7c82a89267
2 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,4 @@
{ pkgs, ... }:
let baseUrl = "git.ewanick.com";
in
{
@ -13,6 +14,31 @@ in
service = {
DISABLE_REGISTRATION = true;
};
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "self";
};
};
};
services.gitea-actions-runner.instances = {
"first-runner" = {
enable = true;
url = baseUrl;
tokenFile = ./git.ewanick.com/tokenFile;
hostPackages = with pkgs; [
bash
coreutils
curl
gawk
gitMinimal
gnused
wget
];
name = "linode-nixos";
labels = [
"native:host"
];
};
};

1
nixos-apps/git.ewanick.com/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
tokenFile