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
+14 -8
View File
@@ -104,17 +104,19 @@ in
let let
runnerInstanceName = "ci-runner"; runnerInstanceName = "ci-runner";
ciJobContents = with pkgs; [
bashInteractive
coreutils
gitMinimal
nixVersions.latest
nodejs
cacert
];
ciJobImage = pkgs.dockerTools.buildLayeredImage { ciJobImage = pkgs.dockerTools.buildLayeredImage {
name = "ci-job-image"; name = "ci-job-image";
tag = "latest"; tag = "latest";
contents = with pkgs; [ contents = ciJobContents;
bashInteractive
coreutils
gitMinimal
nixVersions.latest
nodejs
cacert
];
config = { config = {
Cmd = [ "/bin/sh" ]; Cmd = [ "/bin/sh" ];
Env = [ Env = [
@@ -130,6 +132,10 @@ in
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModprobeConfig = "options kvm_intel nested=1"; 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"; microvm.writableStoreOverlay = "/nix/.rw-store";
nix.settings = { nix.settings = {