nixos-config/system/monolith-forgejo-runner.nix

21 lines
626 B
Nix
Raw Permalink Normal View History

{ pkgs, config, ... }:
{
2024-04-06 20:51:48 -03:00
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.default = {
enable = true;
name = "monolith";
url = "https://git.lelgenio.com";
2024-04-06 20:51:48 -03:00
tokenFile = config.age.secrets.monolith-forgejo-runner-token.path;
labels = [
# provide a debian base with nodejs for actions
"debian-latest:docker://node:18-bullseye"
# fake the ubuntu name, because node provides no ubuntu builds
"ubuntu-latest:docker://node:18-bullseye"
# provide native execution on the host
#"native:host"
];
};
};
}