1
0
Fork 0

feature(steam): enable gamescope via steam, update gamemode config

Enable renice for gamemode and also start and end notifications.
This commit is contained in:
Philipp 2025-06-02 17:16:40 +02:00
parent 4e13e8c631
commit af66ad11b8
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750

View file

@ -17,16 +17,28 @@ in
};
config = mkIf cfg.enable {
programs.steam.enable = true;
programs.steam.remotePlay.openFirewall = true;
programs.steam = {
enable = true;
gamescopeSession.enable = true;
protontricks.enable = true;
remotePlay.openFirewall = true;
extraPackages = with pkgs; [
steamtinkerlaunch
];
};
programs.gamemode = {
enable = true;
settings = {
general.renice = 10;
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started.'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended.'";
};
};
};
hardware.steam-hardware.enable = true;
environment.systemPackages = with pkgs; [
steamtinkerlaunch
steam
gamescope
gamemode
];
};
}