From 9bcc89633ed4a7d1fff0468540392142cb772bda Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Fri, 6 May 2022 19:17:12 +0000 Subject: [PATCH] Update config-gnome.nix --- config-gnome.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config-gnome.nix b/config-gnome.nix index ec09a07..5922301 100644 --- a/config-gnome.nix +++ b/config-gnome.nix @@ -13,8 +13,12 @@ systemd-boot.enable = true; }; - boot.initrd.luks.devices.crypt-root.device = "/dev/vda2"; - fileSystems."/".device = "/dev/mapper/crypt-root"; + boot.initrd.luks.devices = { + crypted = { + device = "/dev/disk/by-label/root>"; + preLVM = true; + }; + }; # Name your host machine networking.hostName = "NixOS-VM";