Disable bluetooth wakeup

This commit is contained in:
2024-11-08 12:09:47 +01:00
parent 6c77116e29
commit aaa00c9871
3 changed files with 3 additions and 2 deletions
-1
View File
@@ -14,7 +14,6 @@
user = "greeter";
};
initial_session = {
# zsh -c is to give river access to profile variables
command = "${pkgs.systemd}/bin/systemctl --wait --user start river.service";
user = "zoriya";
};
+1 -1
View File
@@ -59,7 +59,7 @@ in {
];
default-attach-mode = "top";
focus-follows-cursor = "normal"; # might try "always" if this does not feel right
focus-follows-cursor = "normal";
set-cursor-warp = "on-focus-change";
hide-cursor = {
+2
View File
@@ -33,6 +33,8 @@
for device_wu in /sys/bus/usb/devices/*/power/wakeup; do
echo enabled > $device_wu
done
# disable bluetooth
echo disabled > /sys/bus/usb/devices/3-10/power/wakeup
'';
services.printing.enable = true;