1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-12 05:26:00 +03:00

qemu-cryptsetup: Use uefi-x86_64 system

It is incomplete because it does not use the (not implemented) VM
attribute.
This commit is contained in:
Samuel Dionne-Riel 2020-12-02 02:47:32 -05:00
parent 1098b55236
commit a8f14efead
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -1,5 +1,5 @@
let
device = "qemu-x86_64";
device = "uefi-x86_64";
system-build = import ../../../. {
inherit device;
configuration = [ { imports = [