mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 19:23:56 -05:00
28 lines
468 B
Nix
28 lines
468 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
boot = {
|
|
initrd.availableKernelModules = ["nvme" "sd_mod" "thunderbolt" "usb_storage" "xhci_pci"];
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
};
|
|
|
|
hardware = {
|
|
enableAllFirmware = true;
|
|
sensor.iio.enable = true; # Enable auto-rotate and tablet mode.
|
|
};
|
|
|
|
ar.hardware = {
|
|
enable = true;
|
|
cpu.intel = true;
|
|
gpu.intel = true;
|
|
laptop = true;
|
|
ssd = true;
|
|
sound = true;
|
|
};
|
|
}
|