mirror of
https://github.com/nix-community/disko
synced 2024-11-10 14:24:27 +00:00
12 lines
327 B
Nix
12 lines
327 B
Nix
{ pkgs ? (import <nixpkgs> {})
|
|
, makeDiskoTest ? (pkgs.callPackage ./lib.nix {}).makeDiskoTest
|
|
}:
|
|
makeDiskoTest {
|
|
disko-config = import ../example/lvm-raid.nix;
|
|
extraTestScript = ''
|
|
machine.succeed("grep -qs '/mnt/home' /proc/mounts");
|
|
'';
|
|
extraConfig = {
|
|
boot.kernelModules = [ "dm-raid" "dm-mirror" ];
|
|
};
|
|
}
|