feat: added openrgb and disable sunshine streaming for now
This commit is contained in:
@@ -1,17 +1,40 @@
|
||||
{...}: {
|
||||
{pkgs, ...}: {
|
||||
systemd.user.services.sunshine.path = [
|
||||
pkgs.gamemode
|
||||
pkgs.steam
|
||||
];
|
||||
|
||||
services.sunshine = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
openFirewall = true;
|
||||
capSysAdmin = true;
|
||||
autoStart = true;
|
||||
settings = {
|
||||
# file_apps = "/home/servius/.config/sunshine/apps.json";
|
||||
sunshine_name = "Ryu";
|
||||
};
|
||||
applications = {
|
||||
# env = {PATH = "/run/current-system/sw/bin";};
|
||||
apps = [
|
||||
{
|
||||
name = "Steam Big Picture";
|
||||
icon = "steam";
|
||||
cmd = "steam steam://open/gamepadui";
|
||||
# detached = ["setsid steam steam://open/gamepadui"];
|
||||
detached = ["${pkgs.util-linux}/bin/setsid ${pkgs.steam}/bin/steam steam://open/gamepadui"];
|
||||
exclude-global-prep-cmd = "false";
|
||||
auto-detach = "true";
|
||||
}
|
||||
{
|
||||
name = "Baldur's Gate 3";
|
||||
image-path = "/home/servius/.config/sunshine/covers/igdb_119171.png";
|
||||
auto-detach = "true";
|
||||
exclude-global-prep-cmd = "false";
|
||||
prep-cmd = [];
|
||||
# detached = ["setsid steam steam://rungameid/1086940"];
|
||||
detached = ["${pkgs.util-linux}/bin/setsid ${pkgs.steam}/bin/steam steam://rungameid/1086940"];
|
||||
wait-all = true;
|
||||
exit-timeout = 5;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user