reNixos/ada/boot/initrd.nix
s0me1newithhand7s bcb7f2dcb0 ada: upstream
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-03-25 18:47:19 +03:00

45 lines
738 B
Nix

_: {
boot = {
initrd = {
availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
"btrfs"
"cryptd"
];
supportedFilesystems = {
ntfs = true;
vfat = true;
btrfs = true;
};
kernelModules = [
"amdgpu"
"zenpower"
"i2c-dev"
];
luks = {
devices = {
cryptroot = {
device = "/dev/disk/by-id/nvme-KINGSTON_SKC3000S_1024G_AA000000000000000013-part2";
};
};
};
systemd = {
enable = true;
network = {
enable = true;
};
};
verbose = false;
};
};
}