mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Fix instant wake from suspend
This commit is contained in:
parent
3cab6d5294
commit
57629bee64
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@
|
|||
services.fstrim.enable = true;
|
||||
hardware.logitech.lcd.enable = true;
|
||||
|
||||
# Prevent immediate wake-up from suspend caused by the logi bolt receiver
|
||||
services.udev.extraRules = ''
|
||||
ACTION=="add" SUBSYSTEM=="pci" ATTR{vendor}=="0x1022" ATTR{device}=="0x43ee" ATTR{power/wakeup}="disabled"
|
||||
'';
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue