2024-12-02 19:57:19 -05:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-11-17 10:23:27 -05:00
|
|
|
programs.steam = {
|
|
|
|
enable = true;
|
2024-12-23 11:28:09 -05:00
|
|
|
protontricks.enable = true;
|
2024-11-17 10:23:27 -05:00
|
|
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
|
|
|
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
|
|
|
};
|
2024-12-23 12:30:01 -05:00
|
|
|
programs.gamescope = {
|
|
|
|
enable = true;
|
|
|
|
capSysNice = true;
|
|
|
|
args = [
|
|
|
|
"--mangoapp"
|
|
|
|
"-w 1080"
|
|
|
|
"-h 1920"
|
|
|
|
];
|
|
|
|
};
|
2024-12-23 11:28:09 -05:00
|
|
|
programs.gamemode = {
|
|
|
|
enable = true;
|
|
|
|
enableRenice = true;
|
|
|
|
settings = {
|
|
|
|
general = {
|
|
|
|
renice = 10;
|
|
|
|
inhibit_screensaver = 1;
|
|
|
|
};
|
|
|
|
filter = {
|
|
|
|
# whitelist = ''
|
|
|
|
# RiseOfTheTombRaider
|
|
|
|
# '';
|
|
|
|
|
|
|
|
# blacklist = ''
|
|
|
|
# HalfLife3
|
|
|
|
# glxgears
|
|
|
|
# '';
|
|
|
|
};
|
|
|
|
custom = {
|
|
|
|
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
|
|
|
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-11-17 10:23:27 -05:00
|
|
|
environment.systemPackages = with pkgs; [
|
2024-12-21 19:43:06 -05:00
|
|
|
(prismlauncher.override {
|
|
|
|
jdks = with pkgs; [
|
|
|
|
jdk8
|
|
|
|
jdk17
|
|
|
|
jdk21
|
|
|
|
];
|
|
|
|
})
|
2024-12-12 13:52:37 -05:00
|
|
|
lunar-client
|
2024-11-17 15:19:07 -05:00
|
|
|
heroic
|
2024-11-17 10:23:27 -05:00
|
|
|
protonup-qt
|
|
|
|
winetricks
|
2024-12-08 19:33:37 -05:00
|
|
|
celeste64
|
2024-11-17 10:23:27 -05:00
|
|
|
];
|
|
|
|
}
|