feat: added openrgb and disable sunshine streaming for now
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
./sunshine.nix
|
./sunshine.nix
|
||||||
];
|
];
|
||||||
services = {
|
services = {
|
||||||
|
hardware.openrgb.enable = true;
|
||||||
tailscale = {
|
tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,17 +1,40 @@
|
|||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
|
systemd.user.services.sunshine.path = [
|
||||||
|
pkgs.gamemode
|
||||||
|
pkgs.steam
|
||||||
|
];
|
||||||
|
|
||||||
services.sunshine = {
|
services.sunshine = {
|
||||||
enable = true;
|
enable = false;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
capSysAdmin = true;
|
capSysAdmin = true;
|
||||||
|
autoStart = true;
|
||||||
|
settings = {
|
||||||
|
# file_apps = "/home/servius/.config/sunshine/apps.json";
|
||||||
|
sunshine_name = "Ryu";
|
||||||
|
};
|
||||||
applications = {
|
applications = {
|
||||||
|
# env = {PATH = "/run/current-system/sw/bin";};
|
||||||
apps = [
|
apps = [
|
||||||
{
|
{
|
||||||
name = "Steam Big Picture";
|
name = "Steam Big Picture";
|
||||||
icon = "steam";
|
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";
|
exclude-global-prep-cmd = "false";
|
||||||
auto-detach = "true";
|
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