From a90bc7d7b7062c33a2ce01e0217cfb253474be19 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Fri, 27 Oct 2023 16:20:01 +0000 Subject: [PATCH] Update vm.nix --- systems/vm.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/systems/vm.nix b/systems/vm.nix index 830b2f0..35a7813 100644 --- a/systems/vm.nix +++ b/systems/vm.nix @@ -19,6 +19,13 @@ systemd-boot.consoleMode = "0"; }; + boot.initrd.luks.devices = { + root = { + device = "/dev/sda"; + preLVM = true; + }; + }; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; nix.settings.extra-platforms = [ "aarch64-linux" ];