Sunshine: Difference between revisions
Correct information about GameStream protocol (Moonlight is an open-source implementation)
(sunshine: needs to be https) |
(Correct information about GameStream protocol (Moonlight is an open-source implementation)) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This page is intended to explain how to use Sunshine, an open-source implementation of | This page is intended to explain how to use Sunshine, an open-source implementation of NVIDIA’s GameStream protocol. | ||
== Install == | == Install == | ||
To install Sunshine | To install Sunshine, you will need to open up firewall ports, install udev rules and provide a setuid wrapper, | ||
so that sunshine can capture the display: | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
{ pkgs, ... }: { | { pkgs, ... }: { | ||
environment.systemPackages = [ | environment.systemPackages = [ | ||
Line 8: | Line 11: | ||
pkgs.moonlight-qt #for testing purposes. | pkgs.moonlight-qt #for testing purposes. | ||
]; | ]; | ||
services.udev.packages = [ pkgs.sunshine ]; # allow access to create virtual input interfaces. | |||
networking.firewall = { | networking.firewall = { | ||
enable = true; | enable = true; | ||
Line 44: | Line 48: | ||
== Attribution == | == Attribution == | ||
A substantial amount of the above came from [https://www.reddit.com/r/NixOS/comments/1bq2bx4/beginners_guide_to_sunshine_gamedesktop_streaming/ this fairly wonderful guide] posted to Reddit: | A substantial amount of the above came from [https://www.reddit.com/r/NixOS/comments/1bq2bx4/beginners_guide_to_sunshine_gamedesktop_streaming/ this fairly wonderful guide] posted to Reddit. | ||
[[Category:Applications]] | |||
[[Category:Gaming]] |