diff options
author | Raito Bezarius <masterancpp@gmail.com> | 2023-05-26 17:17:35 +0200 |
---|---|---|
committer | Raito Bezarius <masterancpp@gmail.com> | 2023-06-08 16:56:04 +0200 |
commit | ff3936e14b727d3a29d1a3212d6919055ac61804 (patch) | |
tree | 234715b7edce4d319672a2899c779e84d3200913 /nixos | |
parent | 59891e405d1e6ac03d41d0ccc711fe6c0da7d192 (diff) |
nixos/tests/lvm2/systemd-stage-1: mount the host Nix store
Same rationale as in caf6f41e2e1.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/lvm2/systemd-stage-1.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/lvm2/systemd-stage-1.nix b/nixos/tests/lvm2/systemd-stage-1.nix index b711cd22d7f4..b581f2b23507 100644 --- a/nixos/tests/lvm2/systemd-stage-1.nix +++ b/nixos/tests/lvm2/systemd-stage-1.nix @@ -65,6 +65,8 @@ in import ../make-test-python.nix ({ pkgs, ... }: { emptyDiskImages = [ 8192 8192 ]; useBootLoader = true; useEFIBoot = true; + # To boot off the LVM disk, we need to have a init script which comes from the Nix store. + mountHostNixStore = true; }; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; |