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