mirror of
https://github.com/nix-community/disko
synced 2024-11-10 14:24:27 +00:00
12 lines
310 B
Nix
12 lines
310 B
Nix
{ pkgs ? import <nixpkgs> { }
|
|
, diskoLib ? pkgs.callPackage ../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");
|
|
'';
|
|
}
|