Builder: update runner, improving available options

This commit is contained in:
2026-06-04 17:18:32 +02:00
parent cd0e4479f7
commit 2b30fc1a4d
2 changed files with 32 additions and 21 deletions
+24 -13
View File
@@ -102,17 +102,17 @@
}; };
# Ollama used by open-webui as llm backend # Ollama used by open-webui as llm backend
services.ollama = { # services.ollama = {
enable = true; # enable = true;
# acceleration = "rocm"; # # acceleration = "rocm";
openFirewall = true; # openFirewall = true;
}; # };
services.nextjs-ollama-llm-ui = { # services.nextjs-ollama-llm-ui = {
enable = true; # enable = true;
hostname = "192.168.3.118"; # hostname = "192.168.3.118";
port = 3001; # port = 3001;
}; # };
# services.open-webui = { # services.open-webui = {
# enable = true; # enable = true;
# port = 8080; # port = 8080;
@@ -248,15 +248,26 @@
name = "builder"; name = "builder";
tokenFile = config.sops.secrets."gitea_token".path; tokenFile = config.sops.secrets."gitea_token".path;
labels = [ 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 # fake the ubuntu name, because node provides no ubuntu builds
"ubuntu-latest:docker://node:18-bullseye" "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
# my custom nix+devenv ci container
"nix-ci:docker://gitlab.julian-mutter.de/julian/nix-ci-container:latest"
# devenv # devenv
"devenv:docker://ghcr.io/cachix/devenv/devenv:latest" "devenv:docker://ghcr.io/cachix/devenv/devenv:latest"
# provide native execution on the host # provide native execution on the host
"nixos:host" "nixos:host"
]; ];
# Packages are intjected into PATH for "nixos:host"
hostPackages = with pkgs; [
bash
coreutils
curl
gawk
gitMinimal
nodejs # Required by many standard actions (like actions/checkout)
wget
nix
];
}; };
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
File diff suppressed because one or more lines are too long