hyprlock releases the session lock on SIGUSR1 with no PAM prompt, so
Sunshine's global_prep_cmd can unlock on stream start and re-lock on
stream end. Replaces typing the password through the phone's on-screen
keyboard into the stream.
The hook itself stays in the hand-edited ~/.config/sunshine/sunshine.conf:
setting services.sunshine.settings would render the whole file into the
store and disable the web UI, which is how yolo got stuck on the default
fec_percentage.
Co-Authored-By: Claude <noreply@anthropic.com>
Mirror the hosts/common/features/gaming/ layout on the home side: turn the
single gaming.nix into a gaming/ directory. Moonlight (the client
counterpart to the Sunshine host) becomes moonlight.nix, gated by its own
custom.gaming.moonlight option so a host can install just the streaming
client without the full launcher/Proton toolkit (custom.gaming.enable).
- gaming.nix -> gaming/default.nix (imports moonlight.nix)
- gaming/moonlight.nix: custom.gaming.moonlight -> moonlight-qt
- arrakis: import gaming module, set custom.gaming.moonlight = true
(replaces the one-off home.packages line)
- konishi: update import path to the directory
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>