diff --git a/config-plasma.nix b/config-plasma.nix index e5afc1a..ca33d7c 100644 --- a/config-plasma.nix +++ b/config-plasma.nix @@ -14,8 +14,8 @@ }; boot.initrd.luks.devices = { - name = "root"; - device = "/dev/disk/by-label/root"; + name = "dm-name-crypt-root"; + device = "/dev/disk/by-id/dm-name-crypt-root"; preLVM = true; };