sunshine apps
This commit is contained in:
@@ -21,7 +21,30 @@ let
|
||||
autoStart = true;
|
||||
capSysAdmin = true;
|
||||
applications.apps = with pkgs; [
|
||||
steam
|
||||
{
|
||||
name = "steam";
|
||||
prep-cmd = [
|
||||
{
|
||||
undo = "${pkgs.util-linux}/bin/setsid ${pkgs.steam}/bin/steam steam://close/bigpicture";
|
||||
}
|
||||
];
|
||||
detached-cmd = [
|
||||
"${pkgs.util-linux}/bin/setsid ${pkgs.steam}/bin/steam steam://open/bigpicture"
|
||||
];
|
||||
exclude-global-prep-cmd = "false";
|
||||
auto-detach = "true";
|
||||
}
|
||||
{
|
||||
name = "1440p Desktop";
|
||||
prep-cmd = [
|
||||
{
|
||||
do = "''${pkgs.kdePackages.libkscreen}/bin/kscreen-doctor output.DP-4.mode.2560x1440@60";
|
||||
undo = "''${pkgs.kdePackages.libkscreen}/bin/kscreen-doctor output.DP-4.mode.3440x1440@60";
|
||||
}
|
||||
];
|
||||
exclude-global-prep-cmd = "false";
|
||||
auto-detach = "true";
|
||||
}
|
||||
];
|
||||
settings = {
|
||||
port = 47989;
|
||||
|
||||
Reference in New Issue
Block a user