about summary refs log tree commit diff
path: root/nixos/tests/systemd-initrd-btrfs-raid.nix
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-05-25 19:05:03 +0200
committerRaito Bezarius <masterancpp@gmail.com>2023-06-08 16:55:25 +0200
commit955a77e1c4ad08c1b5952718d1ef16b8bbbdbd60 (patch)
tree2284f61d898443754b0fcbd0f530234291d152bb /nixos/tests/systemd-initrd-btrfs-raid.nix
parentcaf6f41e2e1b05525e127f5ab5eb2c335ae40a91 (diff)
nixosTests.systemd-initrd-btrfs-raid: mount the host Nix store
Same rationale as caf6f41e2e1.
Diffstat (limited to 'nixos/tests/systemd-initrd-btrfs-raid.nix')
-rw-r--r--nixos/tests/systemd-initrd-btrfs-raid.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/systemd-initrd-btrfs-raid.nix b/nixos/tests/systemd-initrd-btrfs-raid.nix
index c9cdf0060b1bf..9196033789cb8 100644
--- a/nixos/tests/systemd-initrd-btrfs-raid.nix
+++ b/nixos/tests/systemd-initrd-btrfs-raid.nix
@@ -6,6 +6,8 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
     virtualisation = {
       emptyDiskImages = [ 512 512 ];
       useBootLoader = true;
+      # Booting off the BTRFS RAID requires an available init script from the Nix store
+      mountHostNixStore = true;
       useEFIBoot = true;
     };
     boot.loader.systemd-boot.enable = true;