Enable unlocking LUKS with USB keyfile
This commit is contained in:
parent
097ed1b75a
commit
e382869190
1 changed files with 5 additions and 0 deletions
|
@ -82,6 +82,11 @@
|
|||
];
|
||||
|
||||
boot = {
|
||||
initrd.luks.devices."luks-f6e1979b-0dee-4ee9-8170-10490019854b" = {
|
||||
keyFileSize = 8192;
|
||||
keyFile = "/dev/disk/by-id/usb-Kingston_DataTraveler_3.0_E0D55EA5741216B0A93E02B3-0:0";
|
||||
fallbackToPassword = true;
|
||||
};
|
||||
resumeDevice = "/dev/mapper/luks-f6e1979b-0dee-4ee9-8170-10490019854b";
|
||||
kernelParams = [ "resume_offset=44537856" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue