reference luks partition by label

This commit is contained in:
Felix Schröter 2019-10-18 20:07:40 +02:00 committed by Felix Schröter
parent 4892f8bb0c
commit e6e1cac0e7

View file

@ -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;
} }