1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-01 00:29:40 +01:00
nixos-hardware/asus/zephyrus/ga402/default.nix

26 lines
478 B
Nix
Raw Normal View History

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