2024-10-23 15:26:54 +00:00
|
|
|
{ config, pkgs, inputs, ... }: {
|
|
|
|
|
|
|
|
nixpkgs = {
|
2024-12-05 14:22:55 +00:00
|
|
|
overlays = [ inputs.nur.overlay ];
|
|
|
|
config = { allowUnfree = true; };
|
2024-10-23 15:26:54 +00:00
|
|
|
};
|
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
|
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;
|
2024-12-05 14:22:55 +00: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-08-30 20:18:40 +00:00
|
|
|
};
|
|
|
|
gamemode.enable = true;
|
2024-11-02 18:13:25 +00:00
|
|
|
alvr = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.alvr;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
2024-11-13 19:10:09 +00:00
|
|
|
|
|
|
|
obs-studio = {
|
|
|
|
enable = true;
|
2024-12-05 14:22:55 +00:00
|
|
|
plugins = with pkgs.obs-studio-plugins; [
|
2024-11-13 19:10:09 +00:00
|
|
|
obs-pipewire-audio-capture
|
|
|
|
obs-vaapi
|
|
|
|
];
|
|
|
|
};
|
2024-08-30 20:18:40 +00:00
|
|
|
};
|
|
|
|
|
2024-10-13 17:04:01 +00:00
|
|
|
hardware = {
|
|
|
|
amdgpu.opencl.enable = true; # For davinci-resolve
|
2024-12-05 14:22:55 +00:00
|
|
|
opentabletdriver = {
|
|
|
|
enable = true; # For osu!
|
|
|
|
daemon.enable = true;
|
|
|
|
blacklistedKernelModules = [
|
|
|
|
"wacom"
|
|
|
|
];
|
|
|
|
};
|
2024-10-13 17:04:01 +00:00
|
|
|
graphics = {
|
|
|
|
enable = true;
|
|
|
|
enable32Bit = true;
|
2024-12-05 14:22:55 +00:00
|
|
|
extraPackages = with pkgs; [
|
2024-11-16 22:07:01 +00:00
|
|
|
mesa.drivers
|
2024-11-13 19:10:09 +00:00
|
|
|
egl-wayland
|
|
|
|
rocmPackages.clr.icd
|
|
|
|
amdvlk
|
|
|
|
libva
|
|
|
|
libva-utils
|
|
|
|
];
|
2024-10-13 17:04:01 +00:00
|
|
|
};
|
2024-08-30 20:18:40 +00:00
|
|
|
};
|
2024-10-13 17:04:01 +00:00
|
|
|
}
|