forgejo: properly configure runner

This commit is contained in:
Rouven Seifert 2024-09-04 12:00:59 +02:00
parent 46b0bfaa8d
commit 8177e8407a
Signed by untrusted user: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 9 additions and 5 deletions

View file

@ -1,5 +1,6 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
{
sops.secrets."forgejo/runner-token" = { };
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances."quitte" = {
@ -12,8 +13,9 @@
# provide native execution on the host
# "native:host"
];
#TODO get a token from git.ifsr.de and use it
# tokenfile = /"dev/null";
tokenFile = config.sops.secrets."forgejo/runner-token".path;
url = "https://git.ifsr.de";
name = "quitte";
};
};
}