Add host nix-builder label

This commit is contained in:
alejandro-angulo 2026-02-14 12:19:23 -08:00
parent 4525780a79
commit 0fbb4c7725

View file

@ -88,6 +88,8 @@
url = "https://git.alejandr0angul0.dev";
tokenFile = config.age.secrets.gitea-runner-gospel.path;
labels = [
"nix-builder:host"
"ubuntu-latest:docker://node:16-bullseye"
"ubuntu-22.04:docker://node:16-bullseye"
"ubuntu-20.04:docker://node:16-bullseye"
@ -96,6 +98,15 @@
};
};
};
# Allow the Forgejo Actions runner user to talk to nix-daemon when
# running jobs directly on the host.
nix.settings.trusted-users = [
config.systemd.services."gitea-runner-gospel".serviceConfig.User
];
nix.settings.allowed-users = [
config.systemd.services."gitea-runner-gospel".serviceConfig.User
];
virtualisation = {
libvirtd.enable = true;