Merge pull request 'Add KVM to allowed devices in container' (#103) from Qubasa-main into main
All checks were successful
checks / test (push) Successful in 20s
build / test (push) Successful in 10s

This commit is contained in:
clan-bot 2023-10-01 11:17:59 +00:00
commit a56b79cf1c

View File

@ -199,7 +199,7 @@ in
tokenFile = "/var/lib/gitea-registration/token";
labels = [ "nix:docker://gitea-runner-nix" ];
settings = {
container.options = "-e NIX_BUILD_SHELL=/bin/bash -e PAGER=cat -e PATH=/bin -e SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt -v /nix:/nix -v ${storeDeps}/bin:/bin -v ${storeDeps}/etc/ssl:/etc/ssl --user nixuser";
container.options = "-e NIX_BUILD_SHELL=/bin/bash -e PAGER=cat -e PATH=/bin -e SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt -v /nix:/nix -v ${storeDeps}/bin:/bin -v ${storeDeps}/etc/ssl:/etc/ssl --user nixuser --device=/dev/kvm";
# the default network that also respects our dns server settings
container.network = "podman";
container.valid_volumes = [