mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 16:31:54 -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;
|
|
};
|
|
}
|