# punktfunk host configuration (~/.config/punktfunk/host.env) — consumed by punktfunk-host.service. # Session / compositor environment (headless KWin example). XDG_RUNTIME_DIR=/run/user/1000 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus WAYLAND_DISPLAY=wayland-kde XDG_CURRENT_DESKTOP=KDE # Video source: `virtual` creates a per-client virtual output at the client's exact # resolution+refresh (the flagship mode); `portal` captures an existing monitor. PUNKTFUNK_VIDEO_SOURCE=virtual # GPU zero-copy capture (EGL/Vulkan → CUDA → NVENC). Falls back to CPU automatically. PUNKTFUNK_ZEROCOPY=1 # Optional overrides (apps.json is the primary mechanism for per-app settings): #PUNKTFUNK_COMPOSITOR=kwin # kwin | mutter | gamescope | wlroots #PUNKTFUNK_GAMESCOPE_APP=vkcube # nested command for ad-hoc gamescope sessions #PUNKTFUNK_INPUT_BACKEND=libei # wlr | libei | gamescope | uinput #PUNKTFUNK_FEC_PCT=20 # video FEC overhead percent #PUNKTFUNK_PERF=1 # per-stage timing logs #RUST_LOG=info