[egghead] feat: Added sunshine

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
Sid 2025-09-08 07:57:57 +02:00
parent b190e4e8bb
commit 2c4de01d8e
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6

View file

@ -107,7 +107,8 @@
# Only related to this PC - above to be moved to a more common config when ive added more hosts # Only related to this PC - above to be moved to a more common config when ive added more hosts
prismlauncher prismlauncher
komikku komikku
ledger-live-desktop ledger-live-desktop
sunshine
]; ];
programs.steam = { programs.steam = {
@ -118,7 +119,15 @@
}; };
# Custom services # Custom services
services.tailscale.enable = true; services = {
tailscale.enable = true;
sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true;
openFirewall = true;
};
};
programs.bash = { programs.bash = {
interactiveShellInit = '' interactiveShellInit = ''
@ -152,10 +161,14 @@
# services.openssh.enable = true; # services.openssh.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; networking.firewall = {
# networking.firewall.allowedUDPPorts = [ ... ]; enable = true;
# Or disable the firewall altogether. allowedTCPPorts = [ 47984 47989 47990 48010 ];
# networking.firewall.enable = false; allowedUDPPortRanges = [
{ from = 47998; to = 48000; }
{ from = 8000; to = 8010; }
];
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions