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:
parent
1098b55236
commit
a8f14efead
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
let
|
||||
device = "qemu-x86_64";
|
||||
device = "uefi-x86_64";
|
||||
system-build = import ../../../. {
|
||||
inherit device;
|
||||
configuration = [ { imports = [
|
||||
|
Loading…
Reference in New Issue
Block a user