2022-12-03 11:38:26 -05:00
|
|
|
{ lib, ... }:
|
2022-12-03 11:19:05 -05:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../../common/cpu/amd
|
|
|
|
../../../common/cpu/amd/pstate.nix
|
|
|
|
../../../common/gpu/amd
|
|
|
|
../../../common/pc/laptop
|
|
|
|
../../../common/pc/laptop/ssd
|
|
|
|
];
|
|
|
|
|
|
|
|
services = {
|
2022-12-03 11:38:26 -05:00
|
|
|
asusd.enable = lib.mkDefault true;
|
2023-01-01 12:31:25 -05:00
|
|
|
|
|
|
|
# fixes mic mute button
|
|
|
|
udev.extraHwdb = ''
|
|
|
|
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
|
|
|
|
KEYBOARD_KEY_ff31007c=f20
|
|
|
|
'';
|
2022-12-03 11:19:05 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
kernelParams = [ "pcie_aspm.policy=powersupersave" "acpi.prefer_microsoft_dsm_guid=1" ];
|
|
|
|
};
|
|
|
|
}
|