add asus rog zephyrus ga401

This commit is contained in:
figsoda 2021-07-25 17:14:52 -04:00
parent 03e7686c72
commit 107ab6ac42
3 changed files with 23 additions and 0 deletions

View file

@ -75,6 +75,7 @@ See code for all available configurations.
| [Apple MacBook Pro 12,1](apple/macbook-pro/12-1) | `<nixos-hardware/apple/macbook-pro/12-1>` | | [Apple MacBook Pro 12,1](apple/macbook-pro/12-1) | `<nixos-hardware/apple/macbook-pro/12-1>` |
| [Apple MacBook Pro 10,1](apple/macbook-pro/10-1) | `<nixos-hardware/apple/macbook-pro/10-1>` | | [Apple MacBook Pro 10,1](apple/macbook-pro/10-1) | `<nixos-hardware/apple/macbook-pro/10-1>` |
| [Asus TUF FX504GD](asus/fx504gd) | `<nixos-hardware/asus/fx504gd>` | | [Asus TUF FX504GD](asus/fx504gd) | `<nixos-hardware/asus/fx504gd>` |
| [Asus ROG Zephyrus G14 GA401](asus/zephyrus/ga401) | `<nixos-hardware/asus/zephyrus/ga401>` |
| [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` | | [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `<nixos-hardware/beagleboard/pocketbeagle>` |
| [Dell G3 3779](dell/g3/3779) | `<nixos-hardware/dell/g3/3779>` | | [Dell G3 3779](dell/g3/3779) | `<nixos-hardware/dell/g3/3779>` |
| [Dell Latitude 3480](dell/latitude/3480) | `<nixos-hardware/dell/latitude/3480>` | | [Dell Latitude 3480](dell/latitude/3480) | `<nixos-hardware/dell/latitude/3480>` |

View file

@ -0,0 +1,21 @@
{ ... }:
{
imports = [
../../../common/cpu/amd
../../../common/gpu/nvidia.nix
../../../common/pc/laptop
../../../common/pc/ssd
];
hardware.nvidia.prime = {
amdgpuBusId = "PCI:4: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
'';
}

View file

@ -5,6 +5,7 @@
nixosModules = { nixosModules = {
dell-aspire-4810t = import ./acer/aspire/4810t; dell-aspire-4810t = import ./acer/aspire/4810t;
asus-fx504gd = import ./asus/fx504gd; asus-fx504gd = import ./asus/fx504gd;
asus-zephyrus-ga401 = import ./asus/zephyrus/ga401;
apple-macbook-air-3 = import ./apple/macbook-air/3; apple-macbook-air-3 = import ./apple/macbook-air/3;
apple-macbook-air-4 = import apple/macbook-air/4; apple-macbook-air-4 = import apple/macbook-air/4;
apple-macbook-air-6 = import apple/macbook-air/6; apple-macbook-air-6 = import apple/macbook-air/6;