nix-conf/modules/servers/per-server/freyja/services/forgejo-runner.nix
Crony Akatsuki fd141f0dd6
Some checks failed
default / build (push) Failing after 2m11s
fix: try server?
2026-01-22 20:39:33 +01:00

37 lines
898 B
Nix

{
pkgs,
config,
...
}: {
services.gitea-actions-runner = {
package = pkgs.forgejo-runner;
instances.default = {
enable = true;
name = "monolith";
url = "https://git.cronyakatsuki.xyz";
# Obtaining the path to the runner token file may differ
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
tokenFile = config.age.secrets.forgejo-runner-token.path;
labels = [
"node:docker://node:22-bookworm"
"nix:docker://forgejo-runner-nix"
## optionally provide native execution on the host:
"native:host"
];
hostPackages = with pkgs; [
bash
coreutils
curl
gawk
gitMinimal
gnused
nodejs
wget
nix
attic-client
];
};
};
environment.systemPackages = with pkgs; [attic-client];
}