add gamescope to steam and gamemode

This commit is contained in:
Kopatz
2023-12-09 10:46:28 +01:00
parent 0aa0c04c6e
commit 53e1d3b143
4 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
programs.gamemode = {
enable = true;
settings.custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
}

View File

@@ -10,6 +10,7 @@ in
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
gamescopeSession.enable = true;
};
programs.kdeconnect.enable = true;