From 48d341a797f9c594a55fc6c1f8d3a7cb9ae01d05 Mon Sep 17 00:00:00 2001 From: phanirithvij Date: Fri, 5 Jun 2026 11:21:58 +0530 Subject: [PATCH] nixosTests.pdfding: fix tests on aarch64-linux gha Signed-off-by: phanirithvij --- nixos/tests/web-apps/pdfding/basic.nix | 4 ++++ nixos/tests/web-apps/pdfding/e2e.nix | 4 ++++ nixos/tests/web-apps/pdfding/postgres.nix | 4 ++++ nixos/tests/web-apps/pdfding/s3-backups.nix | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/nixos/tests/web-apps/pdfding/basic.nix b/nixos/tests/web-apps/pdfding/basic.nix index 9126fde0b96f..5dec3de378e3 100644 --- a/nixos/tests/web-apps/pdfding/basic.nix +++ b/nixos/tests/web-apps/pdfding/basic.nix @@ -34,6 +34,10 @@ # enable mailpit services.mailpit.instances.default = { }; + + # allows running nixos test on qemu without kvm, eg. github actions on aarch64-linux + systemd.settings.Manager.DefaultDeviceTimeoutSec = lib.mkForce 1800; + boot.initrd.kernelModules = [ "virtio_console" ]; }; }; diff --git a/nixos/tests/web-apps/pdfding/e2e.nix b/nixos/tests/web-apps/pdfding/e2e.nix index d8b11c8f5513..d4dfa0a04cd7 100644 --- a/nixos/tests/web-apps/pdfding/e2e.nix +++ b/nixos/tests/web-apps/pdfding/e2e.nix @@ -42,6 +42,10 @@ # it only cares about files in static/ )) ]; + + # allows running nixos test on qemu without kvm, eg. github actions on aarch64-linux + systemd.settings.Manager.DefaultDeviceTimeoutSec = lib.mkForce 1800; + boot.initrd.kernelModules = [ "virtio_console" ]; }; }; diff --git a/nixos/tests/web-apps/pdfding/postgres.nix b/nixos/tests/web-apps/pdfding/postgres.nix index 96cf6426f5bf..c6a82fad839a 100644 --- a/nixos/tests/web-apps/pdfding/postgres.nix +++ b/nixos/tests/web-apps/pdfding/postgres.nix @@ -25,6 +25,10 @@ environment.systemPackages = [ config.services.postgresql.finalPackage ]; + + # allows running nixos test on qemu without kvm, eg. github actions on aarch64-linux + systemd.settings.Manager.DefaultDeviceTimeoutSec = lib.mkForce 1800; + boot.initrd.kernelModules = [ "virtio_console" ]; }; }; diff --git a/nixos/tests/web-apps/pdfding/s3-backups.nix b/nixos/tests/web-apps/pdfding/s3-backups.nix index 8a9539afea1b..a3955c968b0d 100644 --- a/nixos/tests/web-apps/pdfding/s3-backups.nix +++ b/nixos/tests/web-apps/pdfding/s3-backups.nix @@ -92,6 +92,10 @@ in minio-client sqlite ]; + + # allows running nixos test on qemu without kvm, eg. github actions on aarch64-linux + systemd.settings.Manager.DefaultDeviceTimeoutSec = lib.mkForce 1800; + boot.initrd.kernelModules = [ "virtio_console" ]; }; };