infra/nix/os/devices/steveej-pa600/hw.nix

25 lines
410 B
Nix
Raw Normal View History

2022-01-07 20:44:10 +01:00
{ ... }:
let
2022-10-31 11:04:38 +01:00
stage1Modules = [
2022-01-07 20:44:10 +01:00
"aesni_intel"
"kvm-intel"
"aes_x86_64"
"xhci_pci"
"hxci_hcd"
];
2022-10-31 11:04:38 +01:00
in {
2022-01-07 20:44:10 +01:00
# TASK: new device
hardware.opinionatedDisk = {
enable = true;
encrypted = true;
diskId = "ata-TOSHIBA_MK1652GSX_Y8B9CL6XT";
};
# boot.initrd.availableKernelModules = stage1Modules;
boot.initrd.kernelModules = stage1Modules;
2022-10-31 11:04:38 +01:00
boot.extraModprobeConfig = "";
2022-01-07 20:44:10 +01:00
}