mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 22:13: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
+1
-2
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user