{ pkgs, ... }: { #environment.systemPackages = with pkgs; [ sunshine ]; services.sunshine = { enable = true; capSysAdmin = true; settings = { sunshine_name = "Iroha"; }; applications = { env = { PATH = "$(PATH)"; }; apps = [ { name = "Steam Gamescope"; cmd = "gamescope -w 960 -W 960 -h 544 -H 544 -r 60 -O DP-1 -e -- steam steam://open/bigpicture"; } ]; }; }; #security.wrappers = { # sunshine = { # owner = "root"; # group = "root"; # source = "${pkgs.sunshine}/bin/sunshine"; # capabilities = "cap_sys_admin+p"; # }; #}; }