[Unit] Description=lan-mouse input sharing daemon (omarchy-handoff) PartOf=graphical-session.target After=graphical-session.target xdg-desktop-portal-hyprland.service Requisite=graphical-session.target [Service] Type=simple # LAN_MOUSE_LOG_LEVEL (NOT RUST_LOG -- lan-mouse ignores that) is what makes auth rejections visible at all; lan-mouse logs the # offending fingerprint only at debug level. Drop to "info" once paired. Environment=LAN_MOUSE_LOG_LEVEL=debug ExecStart=/usr/bin/lan-mouse daemon Restart=on-failure RestartSec=2 # Output goes to the journal on purpose. The previous autostart.lua path sent # both streams to /dev/null, which hid every pairing failure for hours. StandardOutput=journal StandardError=journal [Install] WantedBy=graphical-session.target