change for yubikey

This commit is contained in:
2023-09-07 09:52:06 +02:00
parent bd0a2b3db2
commit 3566c4acb8

View File

@@ -9,7 +9,7 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = 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.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [ "resume=/swap/swapfile" "resume_offset=533760" ]; boot.kernelParams = [ "resume=/swap/swapfile" "resume_offset=533760" ];
@@ -22,6 +22,7 @@
options = [ "subvol=root" ]; options = [ "subvol=root" ];
}; };
boot.initrd.luks.yubikeySupport = true;
boot.initrd.luks = { boot.initrd.luks = {
yubikeySupport = true; yubikeySupport = true;
devices."nixos-enc" = { devices."nixos-enc" = {