mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-19 21:49:52 -07:00
feat(adrastea): prevent usb devices from waking suspend using udev
This commit is contained in:
parent
0d729d187f
commit
24aa4ea3f6
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@
|
|||
cpuModelId = "00A50F00";
|
||||
};
|
||||
|
||||
services.udev.extraRules = ''
|
||||
ACTION=="add" SUBSYSTEM=="pci" ATTR{vendor}=="0x1022" ATTR{device}=="0x1639" ATTR{power/wakeup}="disabled"
|
||||
'';
|
||||
|
||||
services.tlp.enable = lib.mkForce false;
|
||||
|
||||
powerManagement.cpuFreqGovernor = "performance";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue