From 41c099b02e895b18f59ef82dad55028405934e53 Mon Sep 17 00:00:00 2001 From: raexera Date: Tue, 26 Nov 2024 13:36:38 +0700 Subject: [PATCH] chore(nvidia): enable dynamicBoost --- hosts/modules/hardware/gpu/nvidia/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/modules/hardware/gpu/nvidia/default.nix b/hosts/modules/hardware/gpu/nvidia/default.nix index 6575bf04..1a733cc6 100644 --- a/hosts/modules/hardware/gpu/nvidia/default.nix +++ b/hosts/modules/hardware/gpu/nvidia/default.nix @@ -36,8 +36,11 @@ in { hardware.nvidia = { package = mkDefault nvidiaPackage; open = mkDefault false; - modesetting.enable = mkDefault true; + powerManagement.enable = mkDefault true; + dynamicBoost.enable = mkDefault true; + modesetting.enable = mkDefault true; + prime.offload = { enable = mkIf (pCfg.nvidiaBusId != "" && (pCfg.intelBusId != "" || pCfg.amdgpuBusId != "")) true; enableOffloadCmd = mkIf pCfg.offload.enable true;