summaryrefslogtreecommitdiffstats
path: root/tests/luks-lvm.nix
blob: d59f3f48282798c91da026e4e2799c6eb2e7c8fe (plain)
1
2
3
4
5
6
7
8
9
10
{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
makeDiskoTest {
  disko-config = import ../example/luks-lvm.nix;
  extraTestScript = ''
    machine.succeed("cryptsetup isLuks /dev/vdb2");
    machine.succeed("mountpoint /mnt/home");
  '';
}