Use label for root partition for portability
This commit is contained in:
parent
b56141c88e
commit
8fd62e3107
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
boot.initrd.luks.devices = {
|
boot.initrd.luks.devices = {
|
||||||
root = {
|
root = {
|
||||||
device = "/dev/disk/by-uuid/e4d12a61-087c-4b29-885d-3b7798d99e01";
|
device = "/dev/disk/by-label/CRYPT";
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue