disko/tests/luks-lvm.nix

13 lines
366 B
Nix
Raw Normal View History

{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
2022-08-25 21:12:49 +00:00
makeDiskoTest {
2023-02-21 16:19:39 +00:00
name = "luks-lvm";
2022-10-29 11:19:29 +00:00
disko-config = ../example/luks-lvm.nix;
extraConfig.boot.initrd.luks.devices.crypted.preLVM = false;
2022-08-25 21:12:49 +00:00
extraTestScript = ''
machine.succeed("cryptsetup isLuks /dev/vda2");
machine.succeed("mountpoint /home");
'';
}