Services: Add sunshine for remote game streaming
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
development-tools
|
development-tools
|
||||||
i18n-de
|
i18n-de
|
||||||
mount-duke-smb
|
mount-duke-smb
|
||||||
|
# (sunshine "weckyy702")
|
||||||
|
|
||||||
#TODO: moar aspects
|
#TODO: moar aspects
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user