summary refs log tree commit diff stats
path: root/hosts/thinklappi/basesystem.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/thinklappi/basesystem.nix')
-rw-r--r--hosts/thinklappi/basesystem.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/hosts/thinklappi/basesystem.nix b/hosts/thinklappi/basesystem.nix
index b382038..b718c44 100644
--- a/hosts/thinklappi/basesystem.nix
+++ b/hosts/thinklappi/basesystem.nix
@@ -14,7 +14,10 @@
       systemd.enable = true;
       availableKernelModules = ["xhci_pci" "nvme" "rtsx_pci_sdmmc"];
       kernelModules = [];
-      luks.devices."cryptroot".device = "/dev/disk/by-uuid/6700d662-29a9-4ea5-8ca6-85d42550b3ab";
+      luks.devices."cryptroot" = {
+        crypttabExtraOpts = ["fido2-device=auto"];
+        device = "/dev/disk/by-uuid/6700d662-29a9-4ea5-8ca6-85d42550b3ab";
+      };
     };
     kernelModules = ["kvm-intel"];
     extraModulePackages = [];