mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/Nvidia/Proprietary] more sane defaults to RegistryDwords
Fixes over-heating when AC adapter is connected.
This commit is contained in:
parent
9b0f62db76
commit
2124e42b12
1 changed files with 5 additions and 2 deletions
|
|
@ -44,8 +44,11 @@ in {
|
|||
};
|
||||
registryDwords = mkOption {
|
||||
description = "Registry DWORDS to set for Nvidia driver";
|
||||
example = [ "OverrideMaxPerf=0x1" ];
|
||||
default = [ "PowerMizerEnable=0x1" "PerfLevelSrc=0x2222" "PowerMizerDefault=0x3" "PowerMizerDefaultAC=0x1" ];
|
||||
|
||||
# Very useful resource.
|
||||
# https://forums.developer.nvidia.com/t/power-mizer-difference-between-powermizerdefault-and-powermizerlevel/46884/3
|
||||
example = [ "PerfLevelSrc=0x2222" ];
|
||||
default = [ "PowerMizerEnable=0x1" "OverrideMaxPerf=0x1" "PowerMizerDefault=0x3" "PowerMizerDefaultAC=0x3" ];
|
||||
type = with types; listOf str;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue