No description
- Nix 57.5%
- Python 18.8%
- QML 11.7%
- HTML 9.7%
- GLSL 1.5%
- Other 0.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Add a Sunshine remote-desktop host on the desktop and a Moonlight launcher on the probook, reachable only over the tailnet. The host is not a daemon: the probook opens a YubiKey-authenticated SSH control master, starts the Sunshine user service over it, and stops it again when the stream ends. Sunshine runs inside the existing Hyprland session (the compositor publishes its Wayland environment to /run/user/1000/hypr-session-env at startup) and captures the desktop with wlr-screencopy. A global prep command switches the Philips output to 1920x1080@60 8-bit sRGB for the duration of the stream and restores 2560x1440@170 10-bit on disconnect, so a 1080p30 HEVC stream fits the ~10 Mbps home uplink. Audio and clipboard are deliberately off. On the probook a Hyprland `remote` submap releases its own keybinds while streaming, so SUPER+Q opens fuzzel on the desktop; SUPER+ALT+R is the local escape (it kills Moonlight, whose launcher then stops the host). Moonlight runs fullscreen with absolute mouse, system-key capture, HEVC 1080p30 at 8 Mbps. The headscale ACL grows from SSH only to SSH plus Sunshine's TCP/UDP ports, and the desktop firewall admits those ports on tailscale0 only. |
||
| assets | ||
| hosts | ||
| modules | ||
| overlays | ||
| pkgs | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| hm-setup.sh | ||
| README.md | ||
NixOS Configuration Repository
This is my nix config.
I use this for my home desktop and school laptops.
Yes, this repository is safe for public sharing. assets/id_ed25519_sk_rk is an
unencrypted FIDO2 resident-key handle: it contains no exportable private key and
still requires the YubiKey, its FIDO PIN/user verification, and a physical touch.
I have no clue what I'm doing. How did you know?