summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gaming.nix31
1 files changed, 15 insertions, 16 deletions
diff --git a/gaming.nix b/gaming.nix
index 785d6c3..13d2ecb 100644
--- a/gaming.nix
+++ b/gaming.nix
@@ -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\"";
+ # }
+ # ];
+ # }
+ # ];
+ # };
};
}