Lots of jude updates

This commit is contained in:
Greg Hellings
2024-01-03 12:35:30 -06:00
parent a0f9b8729b
commit 702d522ee2
7 changed files with 29 additions and 19 deletions
+20 -2
View File
@@ -7,15 +7,32 @@ let
enable = true;
hostPackages = with pkgs; [
bashInteractive
podman
coreutils
curl
gawk
git
gnused
nodejs
nodejs_20
podman
pup
gregpy
shellcheck
wget
] ++ value.packages;
labels = lib.mkIf ( builtins.hasAttr "labels" value) value.labels;
name = config.networking.hostName;
tokenFile = config.age.secrets.forgejo-runner.path;
url = "https://src.thehellings.com";
settings.runner.capacity = value.parallel;
settings = {
runner.capacity = value.parallel;
container.network = "host";
cache.enabled = true;
host = {
workdir_parent = "/var/lib/private/gitea-runner/${name}";
};
lxc.enabled = false;
};
};
userName = "gitea-runner";
@@ -65,6 +82,7 @@ in with lib; {
config = mkIf ( runnerNames != [] ) {
services.gitea-actions-runner.instances = ( mapAttrs makeRunner cfg);
#services.gitea-actions-runner.package = pkgs.forgejo-actions-runner;
age.secrets.forgejo-runner = let
aName = builtins.elemAt runnerNames 0;