Change luks usb secret key

This commit is contained in:
SebastianStork 2024-08-22 20:40:49 +02:00
parent f589cae430
commit 6677bc540d
2 changed files with 2 additions and 1 deletions

View file

@ -14,6 +14,7 @@
boot = {
kernelModules = [ "kvm-intel" ];
initrd.kernelModules = [ "usb_storage" ];
initrd.availableKernelModules = [
"xhci_pci"
"ahci"

View file

@ -5,7 +5,7 @@
luks-settings = {
settings = {
allowDiscards = true;
keyFile = "/dev/disk/by-id/usb-SCSI_DISK-0:0";
keyFile = "/dev/disk/by-id/usb-SMI_USB_DISK-0:0";
keyFileSize = 4096;
};
};