add steam and proton qt gui
This commit is contained in:
parent
bbb3b363da
commit
9ae01e1de4
2 changed files with 22 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue