add steam and proton qt gui

This commit is contained in:
Joseph Hanson 2024-06-21 19:34:22 -05:00
parent bbb3b363da
commit 9ae01e1de4
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 22 additions and 4 deletions

View file

@ -1,8 +1,26 @@
{ ... }:
{ pkgs, lib, ... }:
{
# Enable module for NVIDIA graphics
mySystem.hardware.nvidia.enable = true;
mySystem = {
hardware.nvidia.enable = true;
};
# set xserver videodrivers for NVIDIA gpu
services.xserver.videoDrivers = [ "nvidia" ];
# 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;
}

View file

@ -31,8 +31,8 @@ with lib;
};
programs.command-not-found.enable = mkDefault false;
sound.enable = false;
hardware.pulseaudio.enable = false;
sound.enable = mkDefault false;
hardware.pulseaudio.enable = mkDefault false;
services.udisks2.enable = mkDefault false;
};
}