From 6776df50ee0b5ae8ce8d5f3f652b101934eeb2b7 Mon Sep 17 00:00:00 2001 From: Relief Melone Date: Wed, 4 Sep 2024 15:05:15 +0200 Subject: [PATCH] Adding Asus Zephyrus G16 GU605MY - added module to asus/zephyrus/gu605my - added entry to flake outputs - added entry in README table --- README.md | 1 + asus/zephyrus/gu605my/default.nix | 16 ++++++++++++++++ flake.nix | 1 + 3 files changed, 18 insertions(+) create mode 100644 asus/zephyrus/gu605my/default.nix diff --git a/README.md b/README.md index 21a48e5..bf6290d 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ See code for all available configurations. | [Asus ROG Zephyrus G14 GA402X* (2023)](asus/zephyrus/ga402x/nvidia) | `` | | [Asus ROG Zephyrus G15 GA502](asus/zephyrus/ga502) | `` | | [Asus ROG Zephyrus G15 GA503](asus/zephyrus/ga503) | `` | +| [Asus ROG Zephyrus G16 GU605MY](asus/zephyrus/gu605my) | `` | | [Asus ROG Zephyrus M16 GU603H](asus/zephyrus/gu603h) | `` | | [Asus TUF FX504GD](asus/fx504gd) | `` | | [Asus TUF FX506HM](asus/fx506hm) | `` | diff --git a/asus/zephyrus/gu605my/default.nix b/asus/zephyrus/gu605my/default.nix new file mode 100644 index 0000000..c5a57a8 --- /dev/null +++ b/asus/zephyrus/gu605my/default.nix @@ -0,0 +1,16 @@ +{ ... }: + +{ + imports = [ + ../../../common/cpu/intel + ../../../common/gpu/nvidia/prime.nix + ../../../common/gpu/nvidia/ampere + ../../../common/pc/laptop + ../../../common/pc/ssd + ]; + + hardware.nvidia.prime = { + intelBusId = "PCI:0:2:0"; + nvidiaBusId = "PCI:1:0:0"; + }; +} diff --git a/flake.nix b/flake.nix index b7102cd..4d1ebf2 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,7 @@ asus-zephyrus-ga502 = import ./asus/zephyrus/ga502; asus-zephyrus-ga503 = import ./asus/zephyrus/ga503; asus-zephyrus-gu603h = import ./asus/zephyrus/gu603h; + asus-zephyrus-gu605my = import ./asus/zephyrus/gu605my; beagleboard-pocketbeagle = import ./beagleboard/pocketbeagle; chuwi-minibook-x = import ./chuwi/minibook-x; deciso-dec = import ./deciso/dec;