2023-06-01 22:10:18 +01:00
|
|
|
{ config, pkgs, inputs, lib, ... }: {
|
|
|
|
sops.secrets."gitea-runner-token" = {
|
|
|
|
sopsFile = ./gitea-runner-token.sops;
|
|
|
|
format = "binary";
|
|
|
|
};
|
|
|
|
virtualisation.podman = {
|
|
|
|
enable = true;
|
|
|
|
autoPrune.enable = true;
|
|
|
|
};
|
|
|
|
services.gitea-actions-runner.instances.bolty1 = {
|
|
|
|
enable = true;
|
|
|
|
url = "https://git.cyplo.dev";
|
|
|
|
tokenFile = config.sops.secrets."gitea-runner-token".path;
|
|
|
|
name = "bolty1";
|
2023-06-02 12:22:44 +01:00
|
|
|
labels = [
|
|
|
|
"nix:docker://nixpkgs/nix-flakes:latest"
|
2023-06-02 12:29:17 +01:00
|
|
|
"node-latest:docker://node:latest"
|
2023-06-02 12:22:44 +01:00
|
|
|
"ubuntu-latest:docker://ubuntu:latest"
|
|
|
|
];
|
2023-06-01 22:10:18 +01:00
|
|
|
};
|
|
|
|
}
|