From fddf4aeb5309f3f6c1dbbb4f998cfd7b33d0e8b7 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Sat, 7 May 2022 23:49:36 +0000 Subject: [PATCH] Update config-plasma.nix --- config-plasma.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config-plasma.nix b/config-plasma.nix index bbd6398..1f16356 100644 --- a/config-plasma.nix +++ b/config-plasma.nix @@ -13,6 +13,15 @@ systemd-boot.enable = true; }; + + boot.initrd.luks.devices = [ + { + name = "root"; + device = "/dev/disk/by-label/root"; + preLVM = true; + allowDiscards = true; + } + ]; # Name your host machine networking.hostName = "NixOS-VM";