mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-25 02:14:41 +02:00
thinkman/serverle: fix decryption of wrong device
This commit is contained in:
parent
80cbc61b89
commit
88f12c128c
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue