mirror of
https://github.com/nix-community/disko.git
synced 2026-01-15 10:48:38 +01:00
12 lines
323 B
Nix
12 lines
323 B
Nix
{ pkgs ? import <nixpkgs> { }
|
|
, diskoLib ? pkgs.callPackage ../src/disko_lib { }
|
|
}:
|
|
diskoLib.testLib.makeDiskoTest {
|
|
inherit pkgs;
|
|
name = "luks-lvm";
|
|
disko-config = ../../example/luks-lvm.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("cryptsetup isLuks /dev/vda2");
|
|
machine.succeed("mountpoint /home");
|
|
'';
|
|
}
|