thinkman/serverle: fix decryption of wrong device

This commit is contained in:
Felix Buehler 2022-06-03 23:37:07 +02:00
parent 80cbc61b89
commit 88f12c128c
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
{ {
boot.initrd.luks.devices."luks-drive" = { boot.initrd.luks.devices."luks-drive" = {
name = "luks-drive"; name = "luks-drive";
device = "/dev/sda"; device = "/dev/disk/by-partlabel/Crypt";
preLVM = true; preLVM = true;
allowDiscards = true; allowDiscards = true;
}; };

View file

@ -3,7 +3,7 @@
{ {
boot.initrd.luks.devices."luks-drive" = { boot.initrd.luks.devices."luks-drive" = {
name = "luks-drive"; name = "luks-drive";
device = "/dev/nvme0"; device = "/dev/disk/by-partlabel/Crypt";
preLVM = true; preLVM = true;
allowDiscards = true; allowDiscards = true;
}; };