mirror of
https://github.com/nix-community/disko.git
synced 2024-11-09 00:04:18 +03:00
13 lines
324 B
Nix
13 lines
324 B
Nix
{ pkgs ? (import <nixpkgs> { })
|
|
, makeDiskoTest ? (pkgs.callPackage ../lib { }).testLib.makeDiskoTest
|
|
}:
|
|
makeDiskoTest {
|
|
inherit pkgs;
|
|
name = "luks-lvm";
|
|
disko-config = ../example/luks-lvm.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("cryptsetup isLuks /dev/vda2");
|
|
machine.succeed("mountpoint /home");
|
|
'';
|
|
}
|