Sunshine: Difference between revisions
sunshine: needs to be https |
add udev |
||
Line 2: | Line 2: | ||
== 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; |