nix-conf/modules/servers/per-server/freyja/services/forgejo-runner.nix
Crony Akatsuki 4e949ec34e
Some checks failed
default / build (push) Failing after 3s
feat: setup a docker nix image.
2026-01-21 17:53:01 +01:00

22 lines
608 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 = [
"nix-stable:docker://nixos/nix:2.32.0"
## optionally provide native execution on the host:
"native:host"
];
};
};
}