nyx/modules/nixos/games/default.nix
2024-10-23 18:26:54 +03:00

38 lines
778 B
Nix

{ config, pkgs, inputs, ... }: {
nixpkgs = {
overlays = [
inputs.nur.overlay
];
config = {
allowUnfree = true;
};
};
environment.systemPackages = with pkgs; [
protonup-qt
prismlauncher
osu-lazer-bin
obs-studio
davinci-resolve
nur.repos.reedrw.jkps
];
programs = {
steam = {
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
};
gamemode.enable = true;
};
hardware = {
amdgpu.opencl.enable = true; # For davinci-resolve
opentabletdriver.enable = true;
graphics = {
enable = true;
enable32Bit = true;
};
};
}