diff --git a/configuration.nix b/configuration.nix index f68704e..7bc2e0b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -28,7 +28,7 @@ luks.devices."crypted" = { preLVM = lib.mkForce false; crypttabExtraOpts = [ "fido2-device=auto" ]; - device = "/dev/nvme0n1p2"; + device = "/dev/disk/by-partlabel/disk-main-luks"; }; }; };