devices.pc: remove harmful/useless udev rules

This commit is contained in:
2025-12-02 11:34:22 +08:00
parent e135d6bcd6
commit 0e4d718c41

View File

@@ -112,12 +112,8 @@ inputs:
services.colord.enable = true;
services.udev.extraRules =
''
#
ACTION=="add", ATTR{power/wakeup}="disabled"
# CPU
SUBSYSTEM=="power_supply", KERNEL=="BAT0", ACTION=="*", RUN+="${inputs.pkgs.ryzenadj}/bin/ryzenadj --set-coall=0x0fff10"
#
KERNEL=="mmcblk0", ENV{UDISKS_IGNORE}="1"
'';
# 解决有时蓝牙不能使用的问题
boot.kernelParams = [ "mt7925e.disable_aspm=1" ];