diff options
author | sefidel <contact@sefidel.net> | 2023-08-05 23:42:58 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-08-05 23:42:58 +0900 |
commit | 1bf9bc0f981d7bc81559e0096de77c72766e41eb (patch) | |
tree | 4d625cf7bc45f3e084565733b1099be46eb3e3a6 | |
parent | 29acaa9825af4cdbfece2aaf8be75efb14058bff (diff) | |
download | nixrc-1bf9bc0f981d7bc81559e0096de77c72766e41eb.tar.gz nixrc-1bf9bc0f981d7bc81559e0096de77c72766e41eb.zip |
fix(nixos/alpha): fix premature wakeup caused by logitech receiver
-rw-r--r-- | nixos/alpha/configuration.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index 5b0eaf4..9df7566 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -152,6 +152,11 @@ hardware.bluetooth.enable = true; hardware.logitech.wireless.enable = true; + services.udev.extraRules = '' + # Logitech receiver for superlight, causes premature wakeup from suspend + ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c547", ATTR{power/wakeup}="disabled" + ''; + services.printing.enable = true; services.printing.drivers = [ pkgs.gutenprint pkgs.samsung-unified-linux-driver pkgs.brgenml1lpr pkgs.brgenml1cupswrapper ]; |