1
0
Fork 0

fix(nix): add forgejo actions runner

This commit is contained in:
Lucas Sta Maria 2025-08-15 15:07:10 +00:00
parent 809c6d73b8
commit acc139d714
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
5 changed files with 45 additions and 1 deletions

View file

@ -13,6 +13,7 @@
tailscale
nginx
docker
];
in packages;
}

View file

@ -1,5 +1,5 @@
{ inputs, config, pkgs, lib, ... }: {
imports = [ ./hw.nix ];
imports = [ ./hw.nix ../../modules/secrets.nix ];
time.timeZone = "America/New_York";
@ -156,6 +156,25 @@
};
};
virtualisation.docker.enable = true;
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.default = {
enable = true;
name = "monolith";
url = "https://git.priime.dev";
tokenFile = config.age.secrets.forgejo-runner-token.path;
# Default labels
labels = [
"ubuntu-latest:docker://node:16-bullseye"
"ubuntu-22.04:docker://node:16-bullseye"
"ubuntu-20.04:docker://node:16-bullseye"
"ubuntu-18.04:docker://node:16-buster"
];
};
};
services.tailscale.enable = true;
services.thelounge.enable = true;