homelab/modules/gitea/thea/default.nix
shobu 27862a3be1
Some checks failed
/ build hive configuration (push) Failing after 15s
/ Build Nix targets (push) Has been cancelled
test
2025-11-12 05:19:27 +01:00

30 lines
843 B
Nix

{nodes, ...}:let
sin-address = "192.168.1.14";
in{
imports = [
./virtualisation.nix
];
networking.nat.forwardPorts = [{
sourcePort = nodes.sin.config.services.gitea.settings.server.SSH_PORT;
proto = "tcp";
destination = "${sin-address}:22";
}];
services.gitea-actions-runner.instances = {
"gitea.shobu.fr-runner" = {
enable = true;
name = "gitea.shobu.fr-runner";
url = nodes.sin.config.services.gitea.settings.server.ROOT_URL;
token = "uEDPBW6Z9oItAKRtloVwis0LkPbD4OmV2w5esOhW";
labels = [
"debian-latest:docker://debian:latest"
"ubuntu-latest:docker://ubuntu:latest"
"nix-latest:docker://nixos/nix:latest"
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
};
};
}