From cfb3537b1562e45d9ddfb2b26896b6d12fe525ca Mon Sep 17 00:00:00 2001 From: Relief Melone Date: Fri, 6 Sep 2024 20:09:06 +0200 Subject: [PATCH] asus/zephyrus/gu605my: fixed architecture and added dynamic boost as enabled by default --- asus/zephyrus/gu605my/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/asus/zephyrus/gu605my/default.nix b/asus/zephyrus/gu605my/default.nix index c5a57a8e..25f1f3fa 100644 --- a/asus/zephyrus/gu605my/default.nix +++ b/asus/zephyrus/gu605my/default.nix @@ -1,16 +1,20 @@ -{ ... }: +{ lib, ... }: { imports = [ ../../../common/cpu/intel ../../../common/gpu/nvidia/prime.nix - ../../../common/gpu/nvidia/ampere + ../../../common/gpu/nvidia/ada-lovelace ../../../common/pc/laptop ../../../common/pc/ssd ]; - hardware.nvidia.prime = { - intelBusId = "PCI:0:2:0"; - nvidiaBusId = "PCI:1:0:0"; + hardware.nvidia = { + prime = { + intelBusId = "PCI:0:2:0"; + nvidiaBusId = "PCI:1:0:0"; + }; + + dynamicBoost.enable = lib.mkDefault true; }; }