mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 00:49:42 +08:00
devices.pc: adjust cpu voltage and power settings
This commit is contained in:
@@ -113,8 +113,8 @@ inputs:
|
|||||||
services.colord.enable = true;
|
services.colord.enable = true;
|
||||||
services.udev.extraRules =
|
services.udev.extraRules =
|
||||||
''
|
''
|
||||||
# CPU降压
|
# adjust cpu voltage and power
|
||||||
SUBSYSTEM=="power_supply", KERNEL=="BAT0", ACTION=="*", RUN+="${inputs.pkgs.ryzenadj}/bin/ryzenadj --set-coall=0x0fff40"
|
SUBSYSTEM=="power_supply", KERNEL=="BAT0", ACTION=="*", RUN+="${inputs.pkgs.ryzenadj}/bin/ryzenadj --set-coall=0x0fff40 --stapm-limit=100000 --fast-limit=90000 --slow-limit=90000 --tctl-temp=100"
|
||||||
'';
|
'';
|
||||||
# 解决有时蓝牙不能使用的问题
|
# 解决有时蓝牙不能使用的问题
|
||||||
boot.kernelParams = [ "mt7925e.disable_aspm=1" ];
|
boot.kernelParams = [ "mt7925e.disable_aspm=1" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user