2024-06-22 08:49:32 -05:00
|
|
|
{ pkgs, ... }:
|
2024-06-20 13:03:44 -05:00
|
|
|
{
|
|
|
|
# Enable module for NVIDIA graphics
|
2024-06-21 19:34:22 -05:00
|
|
|
mySystem = {
|
|
|
|
hardware.nvidia.enable = true;
|
|
|
|
};
|
2024-06-20 13:03:44 -05:00
|
|
|
|
2024-06-21 12:55:52 -05:00
|
|
|
# set xserver videodrivers for NVIDIA gpu
|
2024-06-20 13:03:44 -05:00
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
2024-06-21 19:34:22 -05:00
|
|
|
# Install steam systemwide
|
|
|
|
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
|
|
|
|
};
|
|
|
|
|
|
|
|
# # Proton versions GUI and Wine
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
protonup-qt
|
|
|
|
wineWowPackages.waylandFull
|
|
|
|
winetricks
|
|
|
|
];
|
|
|
|
|
|
|
|
# sound.enable = lib.mkDefault true;
|
|
|
|
# hardware.pulseaudio.enable = lib.mkForce false;
|
2024-06-20 13:03:44 -05:00
|
|
|
}
|