diff options
author | linj <linj.dev@outlook.com> | 2022-05-23 05:11:26 +0800 |
---|---|---|
committer | linj <linj.dev@outlook.com> | 2022-05-23 05:11:26 +0800 |
commit | d5a9c1dd08dab74d5d76b5ceb3079ab91e1778c6 (patch) | |
tree | 49d20e88572d14ab20562d5eeb57356b03a03dfb /nixos/modules/hardware | |
parent | dc706dddd0cb263029525585a7b3cb2ee61c154b (diff) | |
download | nixpkgs-d5a9c1dd08dab74d5d76b5ceb3079ab91e1778c6.tar nixpkgs-d5a9c1dd08dab74d5d76b5ceb3079ab91e1778c6.tar.gz nixpkgs-d5a9c1dd08dab74d5d76b5ceb3079ab91e1778c6.tar.bz2 nixpkgs-d5a9c1dd08dab74d5d76b5ceb3079ab91e1778c6.tar.lz nixpkgs-d5a9c1dd08dab74d5d76b5ceb3079ab91e1778c6.tar.xz nixpkgs-d5a9c1dd08dab74d5d76b5ceb3079ab91e1778c6.tar.zst nixpkgs-d5a9c1dd08dab74d5d76b5ceb3079ab91e1778c6.zip |
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
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/video/nvidia.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index 210d45ac841..a5412b0de76 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 = '' |