nix-dotfiles/modules/steam.nix
2025-03-14 04:44:04 -06:00

34 lines
672 B
Nix

{ config, pkgs, lib, inputs, system, ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
gamescopeSession.enable = true;
extraCompatPackages = [
pkgs.proton-ge-bin
];
};
hardware.graphics = {
enable = true;
enable32Bit = true;
};
environment.systemPackages = with pkgs; [
lutris
wineWowPackages.stable
winetricks
protontricks
gamemode
mangohud
vulkan-tools
vulkan-loader
vulkan-headers
vulkan-validation-layers
libstrangle
piper
];
environment.variables = {
LD_LIBRARY_PATH = "${pkgs.mangohud}/lib";
};
}