mirror of
https://github.com/thegeneralist01/config.git
synced 2026-10-09 21:03:30 +02:00
nixos: revert unsupported NVIDIA runtime D3
This commit is contained in:
parent
06c4eab6eb
commit
828609f738
1 changed files with 0 additions and 7 deletions
|
|
@ -19,17 +19,10 @@
|
||||||
boot.extraModprobeConfig = ''
|
boot.extraModprobeConfig = ''
|
||||||
options rtw88_usb switch_usb_mode=N
|
options rtw88_usb switch_usb_mode=N
|
||||||
options rtw88_core disable_lps_deep=1
|
options rtw88_core disable_lps_deep=1
|
||||||
options nvidia NVreg_DynamicPowerManagement=0x02
|
|
||||||
'';
|
'';
|
||||||
boot.kernelParams = [ "usbcore.autosuspend=-1" ];
|
boot.kernelParams = [ "usbcore.autosuspend=-1" ];
|
||||||
networking.networkmanager.wifi.powersave = false;
|
networking.networkmanager.wifi.powersave = false;
|
||||||
|
|
||||||
# Allow this headless Turing GPU to enter runtime D3 while unused.
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
|
|
||||||
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="on"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Favor efficient idle and light-load operation without suspending this
|
# Favor efficient idle and light-load operation without suspending this
|
||||||
# always-on host. The EPP setting retains short performance bursts.
|
# always-on host. The EPP setting retains short performance bursts.
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue