monolith: cleanup host-specific modules
This commit is contained in:
parent
52f5d725ea
commit
5adec3b1d3
5 changed files with 12 additions and 36 deletions
22
hosts/monolith/monolith-forgejo-runner.nix
Normal file
22
hosts/monolith/monolith-forgejo-runner.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
services.gitea-actions-runner = {
|
||||
package = pkgs.forgejo-runner;
|
||||
instances.default = {
|
||||
enable = true;
|
||||
name = "monolith";
|
||||
url = "https://git.lelgenio.com";
|
||||
tokenFile = config.sops.secrets."forgejo-runners/git.lelgenio.com-default".path;
|
||||
labels = [
|
||||
# provide a debian base with nodejs for actions
|
||||
"debian-latest:docker://node:18-bullseye"
|
||||
# fake the ubuntu name, because node provides no ubuntu builds
|
||||
"ubuntu-latest:docker://node:18-bullseye"
|
||||
# provide native execution on the host
|
||||
#"native:host"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
sops.secrets."forgejo-runners/git.lelgenio.com-default" = { };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue