summaryrefslogtreecommitdiffstats
path: root/tests/lvm-raid.nix
blob: 102dcd7d40889208a2d05846922dd9245adba058 (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 = import ../example/lvm-raid.nix;
  extraTestScript = ''
    machine.succeed("mountpoint /mnt/home");
  '';
  extraConfig = {
    boot.kernelModules = [ "dm-raid" "dm-mirror" ];
  };
}