1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-27 20:19:45 +01:00

zephyrus ga401: Enable asusd services

This commit is contained in:
ChaosAttractor 2023-02-10 01:06:28 +08:00
parent b5416e9171
commit 5c55f2428f

View file

@ -1,4 +1,4 @@
{ ... }:
{ lib, ... }:
{
imports = [
@ -15,9 +15,13 @@
nvidiaBusId = "PCI:1:0:0";
};
# fixes mic mute button
services.udev.extraHwdb = ''
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20
'';
services = {
asusd.enable = lib.mkDefault true;
# fixes mic mute button
udev.extraHwdb = ''
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
KEYBOARD_KEY_ff31007c=f20
'';
};
}