Compare commits

..

3 commits

Author SHA1 Message Date
c3f5ad8c30
rekey 2025-08-05 22:33:16 +02:00
3d7316f73c
reproduce group woodpecker-server 2025-08-05 22:23:00 +02:00
25908ad324
swap out CI 2025-08-05 21:26:23 +02:00
2 changed files with 0 additions and 48 deletions

View file

@ -39,7 +39,6 @@ in
_class = "nixos"; _class = "nixos";
imports = [ imports = [
./forgejo-actions-runner.nix
./woodpecker.nix ./woodpecker.nix
]; ];

View file

@ -1,47 +0,0 @@
{ pkgs, config, ... }:
{
_class = "nixos";
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.default = {
enable = true;
name = config.networking.fqdn;
url = "https://git.fediversity.eu";
tokenFile = config.age.secrets.forgejo-runner-token.path;
settings = {
log.level = "info";
runner = {
file = ".runner";
# Take only 1 job at a time to avoid clashing NixOS tests, see #362
capacity = 1;
timeout = "3h";
insecure = false;
fetch_timeout = "5s";
fetch_interval = "2s";
};
};
## This runner supports Docker (with a default Ubuntu image) and native
## modes. In native mode, it contains a few default packages.
labels = [
"docker:docker://node:16-bullseye"
"native:host"
];
hostPackages = with pkgs; [
bash
git
nix
nodejs
];
};
};
## For the Docker mode of the runner.
virtualisation.docker.enable = true;
}