From b7b18f664e205ffe3ec744eb0ad1cae82025e0a1 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 3 Sep 2025 11:45:12 +0200 Subject: [PATCH] feat(sunshine): customise apps available in Sunshine --- system/services/sunshine.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/system/services/sunshine.nix b/system/services/sunshine.nix index 7625b15..0c7d846 100644 --- a/system/services/sunshine.nix +++ b/system/services/sunshine.nix @@ -16,5 +16,33 @@ in { capSysAdmin = true; openFirewall = true; settings.sunshine_name = config.mySystem.networking.hostname; + applications.apps = [ + { + name = "Desktop"; + image-path = "desktop.png"; + } + { + name = "Low Res Desktop"; + image-path = "desktop.png"; + } + { + name = "Steam Big Picture"; + detached = ["setsid steam steam://open/bigpicture"]; + prep-cmd = { + do = ""; + undo = "setsid steam steam://close/bigpicture"; + }; + image-path = "steam.png"; + } + { + name = "OpenTTD"; + cmd = "openttd"; + image-path = "/home/phundrak/.config/sunshine/covers/igdb_18074.png"; + } + { + name = "OpenMW"; + cmd = "openmw"; + } + ]; }; }