testLib.makeDiskoTest: split extraConfig into nixos-config, extraSystemConfig & extraInstallerConfig

This commit is contained in:
lassulus authored and mergify[bot] committed 2023-07-19 19:07:40 +00:00
1 parent 056637d3c9
commit 715c211dd7
10 files changed
+46 -40

No files matched your search

+1 -2
View File
@@ -5,9 +5,8 @@ makeDiskoTest {
inherit pkgs;
name = "zfs";
disko-config = ../example/zfs.nix;
extraConfig = {
extraSystemConfig = {
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!
boot.zfs.requestEncryptionCredentials = true;
};
extraTestScript = ''
machine.succeed("test -b /dev/zvol/zroot/zfs_testvolume");