summaryrefslogtreecommitdiffstats
path: root/tests/lvm-raid.nix
blob: cc73e617e5eef512826ee8f6fb67e7f452b7e332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
makeDiskoTest {
  disko-config = ../example/lvm-raid.nix;
  extraTestScript = ''
    machine.succeed("mountpoint /home");
  '';
  extraConfig = {
    boot.kernelModules = [ "dm-raid0" "dm-mirror" ];
  };
}