enable lvm in stage 1

This commit is contained in:
ahuston-0 2024-08-22 03:04:31 -04:00
parent 9087dc6811
commit e5b387d76b
No known key found for this signature in database
GPG Key ID: 47940175096C1330

View File

@ -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"
];
};
}