mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 13:49:17 -05:00
25 lines
379 B
Nix
25 lines
379 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
boot = {
|
|
initrd.availableKernelModules = ["nvme" "sd_mod" "usb_storage" "usbhid" "xhci_pci"];
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
};
|
|
|
|
hardware.enableAllFirmware = true;
|
|
|
|
ar.hardware = {
|
|
enable = true;
|
|
cpu.amd = true;
|
|
gpu.amd = true;
|
|
laptop = false;
|
|
ssd = true;
|
|
sound = true;
|
|
};
|
|
}
|