feat: NixOS | add LUKS settings for disko and update hardware config

This commit is contained in:
2025-02-04 11:16:03 +05:00
parent c0b90ca749
commit d062f80334
2 changed files with 8 additions and 1 deletions

View File

@@ -25,6 +25,13 @@
name = "crypted";
type = "luks";
askPassword = true;
settings = {
allowDiscards = true;
crypttabExtraOpts = [
"fido2-device=auto"
"token-timeout=10"
];
};
content = {
type = "btrfs";
extraArgs = ["-L" "nixos" "-f"];

View File

@@ -8,7 +8,7 @@
boot = {
initrd = {
availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "thunderbolt" "usb_storage" "sd_mod" ];
kernelModules = [ ];
};