From 13e22c0ae474682a688fe78c0ba9f1c705a1c2c5 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Tue, 13 Sep 2022 20:17:20 +0200 Subject: [PATCH] Disable usb-based key --- nki-home/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nki-home/configuration.nix b/nki-home/configuration.nix index 3c9481c..e1c3b5b 100644 --- a/nki-home/configuration.nix +++ b/nki-home/configuration.nix @@ -35,8 +35,8 @@ boot.initrd.kernelModules = [ "usb_storage" ]; boot.initrd.luks.devices = { root = { - keyFile = "/dev/disk/by-id/usb-090c___B1608112001295-0:0"; - keyFileSize = 4096; + # keyFile = "/dev/disk/by-id/usb-090c___B1608112001295-0:0"; + # keyFileSize = 4096; fallbackToPassword = true; device = "/dev/disk/by-uuid/7c6e40a8-900b-4f85-9712-2b872caf1892"; preLVM = true;