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