diff --git a/examples/testing/qemu-cryptsetup/configuration.nix b/examples/testing/qemu-cryptsetup/configuration.nix index 561c0f2c..11f78840 100644 --- a/examples/testing/qemu-cryptsetup/configuration.nix +++ b/examples/testing/qemu-cryptsetup/configuration.nix @@ -18,6 +18,10 @@ let encryptedRootfs = pkgs.vmTools.runInLinuxVM ( pkgs.runCommand "encrypted-rootfs" { buildInputs = [ pkgs.cryptsetup ]; + passthru = { + filename = "encrypted.img"; + filesystemType = "LUKS"; + }; } '' (PS4=" $ "; set -x mkdir -p /run/cryptsetup diff --git a/examples/testing/qemu-cryptsetup/default.nix b/examples/testing/qemu-cryptsetup/default.nix index 436e432a..f40a0cac 100644 --- a/examples/testing/qemu-cryptsetup/default.nix +++ b/examples/testing/qemu-cryptsetup/default.nix @@ -1,5 +1,5 @@ let - device = "qemu-x86_64"; + device = "uefi-x86_64"; system-build = import ../../../. { inherit device; configuration = [ { imports = [