Use label for root partition for portability

This commit is contained in:
Trevor Vallender 2023-02-19 11:43:51 +00:00
parent b56141c88e
commit 8fd62e3107
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
boot.initrd.luks.devices = {
root = {
device = "/dev/disk/by-uuid/e4d12a61-087c-4b29-885d-3b7798d99e01";
device = "/dev/disk/by-label/CRYPT";
preLVM = true;
allowDiscards = true;
};