host/istal: add forgejo runner
This commit is contained in:
parent
22a689f190
commit
752d6a3a60
4 changed files with 22 additions and 0 deletions
Binary file not shown.
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./forgejo-runners
|
||||
./wireguard
|
||||
./docker-registry-proxy.nix
|
||||
./nginx.nix
|
||||
|
|
21
hosts/istal/services/forgejo-runners/default.nix
Normal file
21
hosts/istal/services/forgejo-runners/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
age.secrets.forgejo-runner-docker-token.file = ./forgejo-runner-docker-token.age;
|
||||
|
||||
local.system.kernel = "stable";
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.unstable.forgejo-runner;
|
||||
instances = {
|
||||
istal-docker = {
|
||||
enable = true;
|
||||
name = "istal-docker";
|
||||
url = "https://git.pleshevski.ru";
|
||||
labels = [ "ubuntu-22.04:docker://node:22-bullseye" ];
|
||||
tokenFile = config.age.secrets.forgejo-runner-docker-token.path;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Binary file not shown.
Loading…
Reference in a new issue