This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

ignavia: add sunshine test config

+27
+26
2configs/sunshine.nix
··· 1 + { pkgs, ... }: { 2 + networking.firewall.allowedTCPPorts = [ 3 + 47984 4 + 47989 5 + 48010 6 + ]; 7 + networking.firewall.allowedUDPPorts = [ 8 + 47998 9 + 47999 10 + 48000 11 + ]; 12 + 13 + boot.kernelModules = [ "uinput" ]; 14 + services.udev.extraRules = '' 15 + KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess" 16 + ''; 17 + 18 + environment.systemPackages = [ 19 + (pkgs.writers.writeDashBin "sun" '' 20 + ${pkgs.sunshine}/bin/sunshine -1 ${pkgs.writeTextFile "sunshine.conf" '' 21 + channels = 5 # allow 5 clients to connect 22 + output_name = 1 # take external screen as default, maybe this breaks sometimes 23 + ''} "$@" 24 + '') 25 + ]; 26 + }
+1
machines/ignavia/config.nix
··· 22 22 # ../../2configs/bitcoin.nix 23 23 ../../2configs/review.nix 24 24 ../../2configs/dunst.nix 25 + ../../2configs/sunshine.nix 25 26 # ../../2configs/print.nix 26 27 # ../../2configs/br.nix 27 28 # ../../2configs/c-base.nix