diff options
| author | Raito Bezarius <masterancpp@gmail.com> | 2023-05-26 17:17:35 +0200 |
|---|---|---|
| committer | Raito Bezarius <masterancpp@gmail.com> | 2023-05-26 17:17:35 +0200 |
| commit | e7d003c8f7dff9789d9dfd02f4357e7fb515a8ba (patch) | |
| tree | b8262c67bfcf282affe23053a1f321b51cf3433c | |
| parent | nixosTests.systemd-initrd-networkd-ssh: bootDevice -> rootDevice (diff) | |
| download | nixpkgs-origin/cleanup-overlay-mounts.tar.gz | |
nixos/tests/lvm2/systemd-stage-1: mount the host Nix storeorigin/cleanup-overlay-mounts
Same rationale as in 3c25a7af.
| -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; |
