From 1fbfafda75bde573ba6aa442415967a91ea21927 Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Thu, 2 Jul 2026 14:55:02 +0200 Subject: feat(adam): update sunshine configuration and enable --- modules/hosts/adam/flake-parts.nix | 1 + modules/services/sunshine.nix | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) (limited to 'modules') diff --git a/modules/hosts/adam/flake-parts.nix b/modules/hosts/adam/flake-parts.nix index 800ca80..b737a34 100644 --- a/modules/hosts/adam/flake-parts.nix +++ b/modules/hosts/adam/flake-parts.nix @@ -21,6 +21,7 @@ steam tailscale wooting + sunshine ]; }; } diff --git a/modules/services/sunshine.nix b/modules/services/sunshine.nix index b28df3a..2dbcad2 100644 --- a/modules/services/sunshine.nix +++ b/modules/services/sunshine.nix @@ -5,6 +5,26 @@ autoStart = true; capSysAdmin = true; openFirewall = true; + + settings = { + sunshine_name = "Adam-Sunshine"; + # Force hardware encoding for AMD + encoder = "vaapi"; + }; + + applications = { + apps = [ + { + name = "Desktop"; + image-path = "desktop.png"; + } + { + name = "Steam Big Picture"; + cmd = "steam -tenfoot"; + image-path = "steam.png"; + } + ]; + }; }; }; } -- cgit v1.3.1