2022-08-26 09:41:58 +03:00
|
|
|
{ pkgs ? (import <nixpkgs> { })
|
|
|
|
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
|
2022-08-25 19:36:56 +03:00
|
|
|
}:
|
2022-08-26 00:12:49 +03:00
|
|
|
makeDiskoTest {
|
2022-08-25 19:36:56 +03:00
|
|
|
disko-config = import ../example/lvm-raid.nix;
|
2022-08-26 00:12:49 +03:00
|
|
|
extraTestScript = ''
|
2022-09-30 13:55:28 +03:00
|
|
|
machine.succeed("mountpoint /home");
|
2022-08-25 19:36:56 +03:00
|
|
|
'';
|
2022-08-26 00:12:49 +03:00
|
|
|
extraConfig = {
|
2022-09-30 13:55:28 +03:00
|
|
|
boot.kernelModules = [ "dm-raid0" "dm-mirror" ];
|
2022-08-26 00:12:49 +03:00
|
|
|
};
|
2022-08-25 19:36:56 +03:00
|
|
|
}
|