mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-10 04:59:40 +01:00
29 lines
576 B
Nix
29 lines
576 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../../common/cpu/intel
|
|
../../../common/gpu/nvidia/prime.nix
|
|
../../../common/gpu/nvidia/ada-lovelace
|
|
../../../common/pc/laptop
|
|
../../../common/pc/ssd
|
|
];
|
|
|
|
hardware.nvidia = {
|
|
prime = {
|
|
intelBusId = "PCI:0:2:0";
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
};
|
|
|
|
dynamicBoost.enable = lib.mkDefault true;
|
|
};
|
|
|
|
services = {
|
|
asusd.enable = lib.mkDefault true;
|
|
|
|
udev.extraHwdb = ''
|
|
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
|
|
KEYBOARD_KEY_ff31007c=f20 # fixes mic mute button
|
|
'';
|
|
};
|
|
}
|