forked from wurzel/fruitbasket
forgejo: properly configure runner
This commit is contained in:
parent
46b0bfaa8d
commit
8177e8407a
2 changed files with 9 additions and 5 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue