47 lines
1 KiB
Nix
47 lines
1 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.steam = {
|
|
enable = true;
|
|
protontricks.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
|
|
};
|
|
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'";
|
|
};
|
|
};
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
(prismlauncher.override {
|
|
jdks = with pkgs; [
|
|
jdk8
|
|
jdk17
|
|
jdk21
|
|
];
|
|
})
|
|
lunar-client
|
|
heroic
|
|
protonup-qt
|
|
winetricks
|
|
celeste64
|
|
];
|
|
}
|