forgejo-runners: recreate nix-garden runner
All checks were successful
flake check / check (push) Successful in 8m30s
fmt check / check (push) Successful in 1m4s
All checks were successful
flake check / check (push) Successful in 8m30s
fmt check / check (push) Successful in 1m4s
This commit is contained in:
parent
68fb54f5ae
commit
5ce837b405
1 changed files with 7 additions and 6 deletions
|
@ -3,8 +3,11 @@
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
sops.secrets.snowflake-runner-token = {};
|
sops.secrets = {
|
||||||
sops.secrets.basegbot-runner-token = {};
|
snowflake-runner-token = {};
|
||||||
|
basegbot-runner-token = {};
|
||||||
|
nixgarden-runner-token = {};
|
||||||
|
};
|
||||||
services.gitea-actions-runner = {
|
services.gitea-actions-runner = {
|
||||||
package = pkgs.forgejo-actions-runner;
|
package = pkgs.forgejo-actions-runner;
|
||||||
instances.snowflake = {
|
instances.snowflake = {
|
||||||
|
@ -53,7 +56,7 @@
|
||||||
gitMinimal
|
gitMinimal
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
instances.nixgarden = {
|
instances.nix-garden = {
|
||||||
settings = {
|
settings = {
|
||||||
container = {
|
container = {
|
||||||
network = "host";
|
network = "host";
|
||||||
|
@ -61,7 +64,7 @@
|
||||||
};
|
};
|
||||||
enable = true;
|
enable = true;
|
||||||
name = config.networking.hostName;
|
name = config.networking.hostName;
|
||||||
token = "ufM3x5MANdcIg9qb7LTJrC7dAi9Kw6DmVXDDX3HL";
|
token = config.sops.secrets.nixgarden-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"
|
||||||
|
@ -74,8 +77,6 @@
|
||||||
coreutils
|
coreutils
|
||||||
wget
|
wget
|
||||||
gitMinimal
|
gitMinimal
|
||||||
python3
|
|
||||||
python311Packages.pip
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue