From 3566c4acb8eb2a251e0110f605fa5e7642ae9129 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 7 Sep 2023 09:52:06 +0200 Subject: [PATCH] change for yubikey --- hosts/nb-01.cloonar.com/hardware-configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/nb-01.cloonar.com/hardware-configuration.nix b/hosts/nb-01.cloonar.com/hardware-configuration.nix index 23473be..3c79e14 100644 --- a/hosts/nb-01.cloonar.com/hardware-configuration.nix +++ b/hosts/nb-01.cloonar.com/hardware-configuration.nix @@ -9,7 +9,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.availableKernelModules = [ "vfat" "nls_cp437" "nls_iso8859-1" "usbhid" "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.kernelParams = [ "resume=/swap/swapfile" "resume_offset=533760" ]; @@ -22,6 +22,7 @@ options = [ "subvol=root" ]; }; + boot.initrd.luks.yubikeySupport = true; boot.initrd.luks = { yubikeySupport = true; devices."nixos-enc" = {