nix-gscheits/machines/raven/hardware-configuration.nix
2025-04-14 22:24:51 +02:00

32 lines
587 B
Nix

{ modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
kernelModules = [ "kvm-intel" ];
initrd = {
availableKernelModules = [
"xhci_pci"
"ehci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
"aesni_intel"
"cryptd"
];
kernelModules = [ "dm-snapshot" ];
};
loader = {
systemd-boot.enable = true;
systemd-boot.configurationLimit = 20;
efi.efiSysMountPoint = "/boot";
efi.canTouchEfiVariables = true;
};
};
}