tsuru: enable runners
All checks were successful
/ check (push) Successful in 2m35s

This commit is contained in:
notohh 2023-10-20 01:31:25 -04:00
parent 0800000f5b
commit e74430e7f7
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
_: { _: {
imports = [ imports = [
./forgejo-runners.nix
]; ];
} }

View file

@ -3,7 +3,7 @@
config, config,
... ...
}: { }: {
sops.secrets.forgejo-runner-token = {}; sops.secrets.snowflake-runner-token = {};
sops.secrets.basegbot-runner-token = {}; sops.secrets.basegbot-runner-token = {};
services.gitea-actions-runner = { services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner; package = pkgs.forgejo-actions-runner;
@ -15,7 +15,7 @@
}; };
enable = true; enable = true;
name = config.networking.hostName; name = config.networking.hostName;
token = config.sops.secrets.forgejo-runner-token.path; token = config.sops.secrets.snowflake-runner-token.path;
url = "https://git.flake.sh"; url = "https://git.flake.sh";
labels = [ labels = [
"debian-latest:docker://node:18-bullseye" "debian-latest:docker://node:18-bullseye"