From f79dd735f0426992fdc2bbe1107de82c79d8bb43 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 26 Oct 2025 00:17:51 +0200 Subject: [PATCH] Maybe add sunshine and steam --- configuration.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 7302fb6..4bcc759 100644 --- a/configuration.nix +++ b/configuration.nix @@ -183,9 +183,15 @@ in }; }; services.resolved.enable = true; + services.sunshine = { + enable = true; + autoStart = true; + capSysAdmin = true; + openFirewall = true; + }; - # Install firefox. programs.firefox.enable = true; + programs.steam.enable = true; # Allow unfree packages nixpkgs.config.allowUnfree = true; @@ -225,6 +231,12 @@ in # networking.firewall.enable = false; networking.firewall.enable = true; networking.firewall.allowPing = true; + # Sunshine + networking.firewall.allowedTCPPorts = [ 47984 47989 47990 48010 ]; + networking.firewall.allowedUDPPortRanges = [ + { from = 47998; to = 48000; } + { from = 8000; to = 8010; } + ]; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions