initial setup of forgejo runners
This commit is contained in:
parent
00e25b6f58
commit
13a7232909
1 changed files with 20 additions and 0 deletions
20
services/forgejo/runner.mod.nix
Normal file
20
services/forgejo/runner.mod.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
sucrose.modules = [
|
||||||
|
({pkgs, config, ...}: {
|
||||||
|
services.gitea-actions-runner= {
|
||||||
|
package = pkgs.forgejo-runner;
|
||||||
|
instances = {
|
||||||
|
${config.networking.hostName} = {
|
||||||
|
enable = true;
|
||||||
|
hostPackages = [];
|
||||||
|
labels = [];
|
||||||
|
name = config.networking.hostName;
|
||||||
|
settings = { };
|
||||||
|
tokenFile = { };
|
||||||
|
url = "https://git.collective-conciousness.monster";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue