2024-09-06 20:09:06 +02:00
|
|
|
{ lib, ... }:
|
2024-09-04 15:05:15 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../../common/cpu/intel
|
|
|
|
../../../common/gpu/nvidia/prime.nix
|
2024-09-06 20:09:06 +02:00
|
|
|
../../../common/gpu/nvidia/ada-lovelace
|
2024-09-04 15:05:15 +02:00
|
|
|
../../../common/pc/laptop
|
|
|
|
../../../common/pc/ssd
|
|
|
|
];
|
|
|
|
|
2024-09-06 20:09:06 +02:00
|
|
|
hardware.nvidia = {
|
|
|
|
prime = {
|
|
|
|
intelBusId = "PCI:0:2:0";
|
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
|
|
};
|
|
|
|
|
|
|
|
dynamicBoost.enable = lib.mkDefault true;
|
2024-09-04 15:05:15 +02:00
|
|
|
};
|
2024-09-07 00:55:54 +02:00
|
|
|
|
|
|
|
services = {
|
|
|
|
asusd.enable = lib.mkDefault true;
|
|
|
|
|
|
|
|
udev.extraHwdb = ''
|
|
|
|
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
|
|
|
|
KEYBOARD_KEY_ff31007c=f20 # fixes mic mute button
|
|
|
|
'';
|
|
|
|
};
|
2024-09-04 15:05:15 +02:00
|
|
|
}
|