mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
testLib.makeDiskoTest: split extraConfig into nixos-config, extraSystemConfig & extraInstallerConfig
This commit is contained in:
1 parent
056637d3c9
commit
715c211dd7
10 files changed
+46
-40
No files matched your search
+2
-2
@@ -5,7 +5,7 @@ makeDiskoTest {
|
||||
inherit pkgs;
|
||||
name = "cli";
|
||||
disko-config = ../example/complex.nix;
|
||||
extraConfig = {
|
||||
extraSystemConfig = {
|
||||
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!
|
||||
};
|
||||
testMode = "cli";
|
||||
@@ -19,7 +19,7 @@ makeDiskoTest {
|
||||
machine.succeed("mountpoint /ext4onzfs");
|
||||
machine.succeed("mountpoint /ext4_on_lvm");
|
||||
'';
|
||||
extraConfig = {
|
||||
extraInstallerConfig = {
|
||||
boot.kernelModules = [ "dm-raid" "dm-mirror" ];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user