Enable fido2 luks on orion/rift.
This commit is contained in:
@@ -19,7 +19,13 @@
|
|||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.luks.devices."luks-5c5e94fc-f710-4578-a5f6-3a244efe5d3b".device = "/dev/disk/by-uuid/5c5e94fc-f710-4578-a5f6-3a244efe5d3b";
|
boot.initrd.luks.devices."luks-5c5e94fc-f710-4578-a5f6-3a244efe5d3b" = {
|
||||||
|
device = "/dev/disk/by-uuid/5c5e94fc-f710-4578-a5f6-3a244efe5d3b";
|
||||||
|
crypttabExtraOpts = [
|
||||||
|
"fido2-device=auto"
|
||||||
|
"token-timeout=10"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/B165-2F51";
|
{ device = "/dev/disk/by-uuid/B165-2F51";
|
||||||
|
|||||||
@@ -8,6 +8,12 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
# FIDO2 LUKS unlock (matches vade setup)
|
||||||
|
boot.initrd.luks.devices."crypted".crypttabExtraOpts = [
|
||||||
|
"fido2-device=auto"
|
||||||
|
"token-timeout=10"
|
||||||
|
];
|
||||||
|
|
||||||
# Allow rootless containers (Podman) to bind port 53 for CoreDNS (MCNS precursor).
|
# Allow rootless containers (Podman) to bind port 53 for CoreDNS (MCNS precursor).
|
||||||
boot.kernel.sysctl."net.ipv4.ip_unprivileged_port_start" = 53;
|
boot.kernel.sysctl."net.ipv4.ip_unprivileged_port_start" = 53;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user