Fix action runner
This commit is contained in:
parent
f8ae3b5816
commit
d5116aa5a2
2 changed files with 26 additions and 18 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
domain = "git.jankremer.de";
|
||||
in
|
||||
|
|
@ -9,7 +14,7 @@ in
|
|||
};
|
||||
age.secrets.forgejo-runner = {
|
||||
file = ../../modules/secrets/forgejo-runner.age;
|
||||
owner = "gitea-runner";
|
||||
owner = "forgejo";
|
||||
};
|
||||
|
||||
services = {
|
||||
|
|
@ -42,14 +47,17 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
gitea-actions-runner.instances.nimbus = {
|
||||
enable = true;
|
||||
url = "https://${domain}";
|
||||
tokenFile = config.age.secrets.forgejo-runner.path;
|
||||
name = "nimbus";
|
||||
labels = [
|
||||
"native:host"
|
||||
];
|
||||
gitea-actions-runner = {
|
||||
package = pkgs.forgejo-runner;
|
||||
instances.nimbus = {
|
||||
enable = true;
|
||||
name = config.networking.hostName;
|
||||
url = "https://${domain}";
|
||||
tokenFile = config.age.secrets.forgejo-runner.path;
|
||||
labels = [
|
||||
"native:host"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue