feat: proper sunshine config.
This commit is contained in:
parent
433fc52318
commit
7eb6e7fb86
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
@ -10,9 +11,28 @@
|
|||||||
config = lib.mkIf config.crony.sunshine.enable {
|
config = lib.mkIf config.crony.sunshine.enable {
|
||||||
services.sunshine = {
|
services.sunshine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoStart = true;
|
autoStart = false;
|
||||||
capSysAdmin = true;
|
capSysAdmin = true;
|
||||||
openFirewall = 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";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user