summaryrefslogtreecommitdiffstats
path: root/tests/lvm-raid.nix
blob: 1249b7b12ad9eb8bd18e156b6b98e216834adee4 (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 /home");
  '';
  extraConfig = {
    boot.kernelModules = [ "dm-raid0" "dm-mirror" ];
  };
}