reference luks partition by label
This commit is contained in:
parent
4892f8bb0c
commit
e6e1cac0e7
|
@ -30,7 +30,7 @@ in
|
||||||
boot.initrd.luks.devices = [
|
boot.initrd.luks.devices = [
|
||||||
{
|
{
|
||||||
name = "root";
|
name = "root";
|
||||||
device = "/dev/disk/by-uuid/a08f2cb3-2a6d-4dbc-b846-4a42ca137117";
|
device = "/dev/disk/by-partlabel/nixos";
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue