fix: move gitea-actions-runner package to top-level option

Per-instance package option does not exist in the nixpkgs module.
Package is configured at services.gitea-actions-runner.package.
Fixes build failure on main. Closes #916.
This commit is contained in:
atlas 2026-05-31 23:54:44 +02:00 committed by mara
commit 4df65deb20

View file

@ -178,6 +178,9 @@ in
"flakes"
];
# package is top-level on gitea-actions-runner, not per-instance.
services.gitea-actions-runner.package = cfg.package;
services.gitea-actions-runner.instances.hive = {
enable = true;
name = cfg.name;
@ -192,7 +195,6 @@ in
# Generous timeout for cold-cache nix builds.
runner.timeout = "3h";
};
package = cfg.package;
};
# Prepend auto-register script before the runner service starts.