mirror of
https://github.com/nix-community/disko.git
synced 2024-11-09 00:04:18 +03:00
15 lines
357 B
Nix
15 lines
357 B
Nix
{ pkgs ? (import <nixpkgs> { })
|
|
, makeDiskoTest ? (pkgs.callPackage ../lib { }).testLib.makeDiskoTest
|
|
}:
|
|
makeDiskoTest {
|
|
inherit pkgs;
|
|
name = "lvm-raid";
|
|
disko-config = ../example/lvm-raid.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("mountpoint /home");
|
|
'';
|
|
extraInstallerConfig = {
|
|
boot.kernelModules = [ "dm-raid0" "dm-mirror" ];
|
|
};
|
|
}
|