feat: proper sunshine config.

This commit is contained in:
CronyAkatsuki 2025-04-03 20:29:56 +02:00
parent 433fc52318
commit 7eb6e7fb86

View File

@ -1,5 +1,6 @@
{
config,
pkgs,
lib,
...
}: {
@ -10,9 +11,28 @@
config = lib.mkIf config.crony.sunshine.enable {
services.sunshine = {
enable = true;
autoStart = true;
autoStart = false;
capSysAdmin = true;
openFirewall = true;
applications = {
env = {
PATH = "$(PATH):$(HOME)/.local/bin";
};
apps = [
{
name = "Desktop";
auto-detach = "true";
image-path = "desktop.png";
}
{
name = "Steam Big Picture";
detached = [
"${pkgs.steam} -tenfoot"
];
image-path = "steam.png";
}
];
};
};
};
}