Host forgejo on sisko

And runner on `picard`
This commit is contained in:
Andrea Ciceri 2024-02-11 15:40:02 +01:00
parent 7f3441fc76
commit a088e336dc
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
8 changed files with 113 additions and 6 deletions

View file

@ -0,0 +1,25 @@
{
config,
lib,
...
}: {
users.users.forgejo-runners = {
isSystemUser = true;
group = "forgejo-runners";
};
users.groups.forgejo-runners = {};
services.gitea-actions-runner.instances.test = {
enable = true;
name = "test";
url = "https://git.aciceri.dev";
tokenFile = config.age.secrets.forgejo-runners-token.file;
labels = ["test"];
};
systemd.services.gitea-runner-test.serviceConfig = {
User = lib.mkForce "forgejo-runners";
Group = lib.mkForce "forgejo-runners";
};
}