mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 11:36:10 +01:00
Added Asus Zephyrus GA502
This commit is contained in:
parent
d4ea64f206
commit
70325e398b
3 changed files with 23 additions and 0 deletions
21
asus/zephyrus/ga502/default.nix
Normal file
21
asus/zephyrus/ga502/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../../common/cpu/amd
|
||||
../../../common/gpu/nvidia/prime.nix
|
||||
../../../common/pc/laptop
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
amdgpuBusId = "PCI:6:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
|
||||
# fixes mic mute button
|
||||
services.udev.extraHwdb = ''
|
||||
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
|
||||
KEYBOARD_KEY_ff31007c=f20
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue