try fixing gitea ci: v8
diff-tag / dix (push) Failing after 2s
flake-check / flake-check (push) Failing after 2s
lint / lint (push) Failing after 1s

This commit is contained in:
Floweynt
2026-09-10 09:33:51 -05:00
parent 7df803484d
commit ea4fa7c55c
+10 -4
View File
@@ -104,10 +104,7 @@ in
let
runnerInstanceName = "ci-runner";
ciJobImage = pkgs.dockerTools.buildLayeredImage {
name = "ci-job-image";
tag = "latest";
contents = with pkgs; [
ciJobContents = with pkgs; [
bashInteractive
coreutils
gitMinimal
@@ -115,6 +112,11 @@ in
nodejs
cacert
];
ciJobImage = pkgs.dockerTools.buildLayeredImage {
name = "ci-job-image";
tag = "latest";
contents = ciJobContents;
config = {
Cmd = [ "/bin/sh" ];
Env = [
@@ -130,6 +132,10 @@ in
boot.kernelModules = [ "kvm-intel" ];
boot.extraModprobeConfig = "options kvm_intel nested=1";
# volume-mounted into CI containers; must be in VM's store so
# image symlinks (/bin/node etc.) resolve through the mount
system.extraDependencies = ciJobContents;
microvm.writableStoreOverlay = "/nix/.rw-store";
nix.settings = {