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:
parent
52cfc3ea1c
commit
4df65deb20
1 changed files with 3 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue