nyx/modules/nixos/games/default.nix

44 lines
873 B
Nix
Raw Normal View History

2024-10-23 15:26:54 +00:00
{ config, pkgs, inputs, ... }: {
nixpkgs = {
overlays = [
inputs.nur.overlay
];
config = {
allowUnfree = true;
};
};
2024-08-30 20:18:40 +00:00
2024-08-30 21:52:01 +00:00
environment.systemPackages = with pkgs; [
2024-08-30 20:18:40 +00:00
protonup-qt
prismlauncher
osu-lazer-bin
obs-studio
2024-10-13 17:04:01 +00:00
davinci-resolve
2024-10-23 15:26:54 +00:00
nur.repos.reedrw.jkps
2024-08-30 20:18:40 +00:00
];
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;
2024-11-02 18:13:25 +00:00
alvr = {
enable = true;
package = pkgs.alvr;
openFirewall = true;
};
2024-08-30 20:18:40 +00:00
};
2024-10-13 17:04:01 +00:00
hardware = {
amdgpu.opencl.enable = true; # For davinci-resolve
opentabletdriver.enable = true;
graphics = {
enable = true;
enable32Bit = true;
};
2024-08-30 20:18:40 +00:00
};
2024-10-13 17:04:01 +00:00
}