From 17890dd7589817d657c08558554af398ee764c54 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Wed, 23 Mar 2022 02:17:40 +0100 Subject: [PATCH] add asus rog zephyrus ga503 Signed-off-by: Mark Sagi-Kazar --- README.md | 1 + asus/zephyrus/ga503/default.nix | 15 +++++++++++++++ flake.nix | 1 + 3 files changed, 17 insertions(+) create mode 100644 asus/zephyrus/ga503/default.nix diff --git a/README.md b/README.md index 9503c1e..f073dd8 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ See code for all available configurations. | [Apple MacBook Pro 12,1](apple/macbook-pro/12-1) | `` | | [Asus ROG Strix G733QS](asus/rog-strix/g733qs) | `` | | [Asus ROG Zephyrus G14 GA401](asus/zephyrus/ga401) | `` | +| [Asus ROG Zephyrus G15 GA503](asus/zephyrus/ga503) | `` | | [Asus TUF FX504GD](asus/fx504gd) | `` | | [BeagleBoard PocketBeagle](beagleboard/pocketbeagle) | `` | | [Dell G3 3779](dell/g3/3779) | `` | diff --git a/asus/zephyrus/ga503/default.nix b/asus/zephyrus/ga503/default.nix new file mode 100644 index 0000000..de282a1 --- /dev/null +++ b/asus/zephyrus/ga503/default.nix @@ -0,0 +1,15 @@ +{ ... }: + +{ + imports = [ + ../../../common/cpu/amd + ../../../common/gpu/nvidia.nix + ../../../common/pc/laptop + ../../../common/pc/ssd + ]; + + hardware.nvidia.prime = { + amdgpuBusId = "PCI:7:0:0"; + nvidiaBusId = "PCI:1:0:0"; + }; +} diff --git a/flake.nix b/flake.nix index a6b05aa..bee3871 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,7 @@ asus-fx504gd = import ./asus/fx504gd; asus-rog-strix-g733qs = import ./asus/rog-strix/g733qs; asus-zephyrus-ga401 = import ./asus/zephyrus/ga401; + asus-zephyrus-ga503 = import ./asus/zephyrus/ga503; beagleboard-pocketbeagle = import ./beagleboard/pocketbeagle; dell-e7240 = import ./dell/e7240; dell-g3-3779 = import ./dell/g3/3779;