summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-05-25 19:07:08 +0200
committerRaito Bezarius <masterancpp@gmail.com>2023-06-08 16:55:45 +0200
commitdb811f12eb5393c4a1113139713d4a4937209c22 (patch)
tree1832ee5c0158fbd1f9eb1083333248ba1f844a36 /nixos
parentde7f3cb2fa53380da6ef3da5c74e5b6a25e3e3c9 (diff)
downloadnixpkgs-db811f12eb5393c4a1113139713d4a4937209c22.tar
nixpkgs-db811f12eb5393c4a1113139713d4a4937209c22.tar.gz
nixpkgs-db811f12eb5393c4a1113139713d4a4937209c22.tar.bz2
nixpkgs-db811f12eb5393c4a1113139713d4a4937209c22.tar.lz
nixpkgs-db811f12eb5393c4a1113139713d4a4937209c22.tar.xz
nixpkgs-db811f12eb5393c4a1113139713d4a4937209c22.tar.zst
nixpkgs-db811f12eb5393c4a1113139713d4a4937209c22.zip
nixosTests.systemd-initrd-swraid: mount the host Nix store
Same rationale as caf6f41e2e1.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/systemd-initrd-swraid.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/systemd-initrd-swraid.nix b/nixos/tests/systemd-initrd-swraid.nix
index d201ba99a20..0d5a1c6354d 100644
--- a/nixos/tests/systemd-initrd-swraid.nix
+++ b/nixos/tests/systemd-initrd-swraid.nix
@@ -6,6 +6,8 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
     virtualisation = {
       emptyDiskImages = [ 512 512 ];
       useBootLoader = true;
+      # Booting off the RAID requires an available init script
+      mountHostNixStore = true;
       useEFIBoot = true;
     };
     boot.loader.systemd-boot.enable = true;