summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-06-07 21:31:29 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-06-07 21:31:29 +0200
commitbab0f4646c4c4976351aba86d28712f4bbd903bf (patch)
treebf07869ec0fc70aef91987b7422dbf312d4c6285 /hosts
parentc643862bfee0debaf1c5110e732adc8c69cdb203 (diff)
workstation: add fido2 as decrypt optionHEADmaster
Diffstat (limited to 'hosts')
-rw-r--r--hosts/workstation/hardware.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/hosts/workstation/hardware.nix b/hosts/workstation/hardware.nix
index 2f91bf3..f269582 100644
--- a/hosts/workstation/hardware.nix
+++ b/hosts/workstation/hardware.nix
@@ -45,8 +45,11 @@ modulesPath,
fsType = "btrfs";
};
+
+ boot.initrd.systemd.fido2.enable = true;
boot.initrd.luks.devices."root" = {
device = "/dev/disk/by-uuid/df2e1c34-093a-4678-9665-8c96ca42b1a2";
+ fido2.credential = "d7781e5de35346aaafe23ca49f13332a";
};
fileSystems."/boot" = {