nixcfg/hosts/mandarin/hardware.nix

23 lines
342 B
Nix
Raw Normal View History

2024-06-14 14:05:59 -04:00
{
config,
inputs,
lib,
pkgs,
...
}: {
boot = {
initrd.availableKernelModules = ["nvme" "sd_mod" "usb_storage" "usbhid" "xhci_pci"];
kernelPackages = pkgs.linuxPackages_latest;
2024-06-14 14:05:59 -04:00
};
hardware.enableAllFirmware = true;
ar.hardware = {
cpu.amd = true;
gpu.amd = true;
laptop = false;
ssd = true;
2024-06-14 14:05:59 -04:00
};
}