From d5a9c1dd08dab74d5d76b5ceb3079ab91e1778c6 Mon Sep 17 00:00:00 2001 From: linj Date: Mon, 23 May 2022 05:11:26 +0800 Subject: [PATCH] nixos/nvidia: remove a useless option According to the doc[1], NVreg_DynamicPowerManagement is a kernel module parameter, which it is already set as. So it should not be set as an xorg option. [1]: https://download.nvidia.com/XFree86/Linux-x86_64/515.43.04/README/dynamicpowermanagement.html#DriverSettingsfe624 --- nixos/modules/hardware/video/nvidia.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index 210d45ac8415..a5412b0de764 100644 --- a/nixos/modules/hardware/video/nvidia.nix +++ b/nixos/modules/hardware/video/nvidia.nix @@ -255,7 +255,6 @@ in '' BusID "${pCfg.nvidiaBusId}" ${optionalString syncCfg.allowExternalGpu "Option \"AllowExternalGpus\""} - ${optionalString cfg.powerManagement.finegrained "Option \"NVreg_DynamicPowerManagement=0x02\""} ''; screenSection = ''