From e39795df10c018240b00a5efb76a013139242a3b 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 (cherry picked from commit 48d341a797f9c594a55fc6c1f8d3a7cb9ae01d05) --- 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 7b2d5154a7bb..3994a4adcf82 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 23bfd064c384..f583dff1d571 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 f7fa5d3c267f..46159b0e3bd1 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 4a56ec8738ad..bb019681bc1a 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" ]; }; };