Services: Add sunshine for remote game streaming

This commit is contained in:
Weckyy702
2026-06-24 23:21:21 +02:00
parent 8712ea4baf
commit de577756a6
2 changed files with 26 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@
development-tools
i18n-de
mount-duke-smb
# (sunshine "weckyy702")
#TODO: moar aspects
];
+25
View File
@@ -0,0 +1,25 @@
{
config.flake.factory.sunshine = user: {
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true;
applications = {
apps = [
{
name = "Steam Big Picture";
detached = [
"sudo -u ${user} setsid steam steam://open/bigpicture"
];
prep-cmd = [
{
do = "";
undo = "sudo -u ${user} setsid steam steam://close/bigpicture";
}
];
}
];
};
};
};
}