nixos-config/modules/nixos/programs/gaming.nix
wo2wz 1db5104679 gaming, minecraft-server: move graalvm 17 package to stable
was this always in stable or has the package search been tweaking when i have checked
2025-11-28 22:05:59 -05:00

23 lines
No EOL
640 B
Nix
Executable file

{ inputs, config, pkgs, ... }:
{
programs = {
gamemode.enable = true; # performance tuning for games
steam = {
enable = true;
extraCompatPackages = [ pkgs.proton-ge-bin ];
};
};
environment.systemPackages = with pkgs; [
gamescope # screen resolution controller for games that have bugs when changing resolution
(prismlauncher.override {
# Change Java runtimes available to Prism Launcher
jdks = [
jdk8
graalvmPackages.graalvm-oracle_17
inputs.nixpkgs-pin.legacyPackages.${pkgs.system}.graalvm-ce
];
})
alsa-oss # fix audio bug on some instances
];
}