From e5b387d76b8e4fb5613f2bb8fc6c40155bb82b44 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Thu, 22 Aug 2024 03:04:31 -0400 Subject: [PATCH] enable lvm in stage 1 --- systems/palatine-hill/hardware-changes.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/systems/palatine-hill/hardware-changes.nix b/systems/palatine-hill/hardware-changes.nix index ece3b75..cc820bc 100644 --- a/systems/palatine-hill/hardware-changes.nix +++ b/systems/palatine-hill/hardware-changes.nix @@ -1,6 +1,8 @@ { ... }: { + boot.initrd.services.lvm.enable = true; + boot.initrd.luks.devices = { "nixos-pv" = { device = "/dev/disk/by-uuid/614787a6-784a-4932-b787-cb6424725444"; @@ -28,5 +30,10 @@ "discard" ]; + "/nix".depends = [ + "/" + "/crypto" + ]; + }; }