From 23e5723ccb80cf8eeae1b5302b4727fd0c22da9a Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Mon, 26 Feb 2024 16:05:09 +0000 Subject: [PATCH] sunshine: disable vsync at start --- hosts/architect/sunshine.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/architect/sunshine.nix b/hosts/architect/sunshine.nix index c8992fc..41076bb 100644 --- a/hosts/architect/sunshine.nix +++ b/hosts/architect/sunshine.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: let user = "sunshine"; @@ -23,6 +23,8 @@ let # Apply new xrandr mode xrandr --output DP-0 --primary --mode ''${mode_alias} --pos 0x0 --rotate normal + + /run/current-system/sw/bin/nvidia-settings -a 'SyncToVBlank=0' ''; executable = true; destination = "/bin/resolution.sh";