diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2024-11-01 20:29:37 +0100 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2024-11-01 20:29:37 +0100 |
commit | 6018f54efde04fd73700ac0260d943325e9a8261 (patch) | |
tree | 8ea3c4d822f42a768db441613ef90b3b350a0bb8 /gaming.nix | |
parent | dd6ed58156204400a198a5712d8b9c6d177c2eeb (diff) |
Play with sunshine config
Diffstat (limited to 'gaming.nix')
-rw-r--r-- | gaming.nix | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -6,22 +6,21 @@ services.sunshine = { enable = true; autoStart = true; + capSysAdmin = true; openFirewall = true; - settings = { - output_name = 1; - }; - applications = { - apps = [ - { - name = "Auto Desktop"; - prep-cmd = [ - { - do = ""; - undo = ""; - } - ]; - } - ]; - }; + # applications = { + # apps = [ + # { + # name = "Auto Desktop"; + # prep-cmd = [ + # { + # # do = "${pkgs.sway}/bin/swaymsg \"output DP-2 mode --custom \${SUNSHINE_CLIENT_WIDTH}x\${SUNSHINE_CLIENT_HEIGHT}@\${SUNSHINE_CLIENT_FPS}Hz\""; + # do = "${pkgs.zsh}/bin/zsh -c \"${pkgs.sway}/bin/swaymsg \"output DP-2 mode --custom 1920x1080@60Hz\"\""; + # undo = "${pkgs.sway}/bin/swaymsg \"output DP-2 mode 3440x1440\""; + # } + # ]; + # } + # ]; + # }; }; } |