reNixos/ada/boot/initrd.nix
s0me1newithhand7s 08c9f53265 fix(ada): initrd & kernel fixes
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-05-29 00:03:12 +03:00

53 lines
968 B
Nix

_: {
boot = {
initrd = {
availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
"btrfs"
"cryptd"
"tpm"
"hid_generic"
];
supportedFilesystems = {
bcachefs = true;
vfat = true;
btrfs = true;
};
kernelModules = [
"amdgpu"
"i2c-dev"
];
luks = {
devices = {
cryptroot = {
device = "/dev/disk/by-id/nvme-KINGSTON_SKC3000S_1024G_AA000000000000000013-part2";
crypttabExtraOpts = [
"fido2-device=auto"
"fido2-pin=true"
"tpm2-device=auto"
"tpm2-pin=true"
# "headless=true"
];
};
};
};
systemd = {
enable = true;
network = {
enable = true;
};
};
verbose = false;
};
};
}