nix-config/nixos/_mixins/desktop/steam.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

15 lines
501 B
Nix

_: {
# https://nixos.wiki/wiki/Steam
fonts.fontconfig.cache32Bit = true;
hardware.steam-hardware.enable = true;
hardware.opengl.driSupport32Bit = true;
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
};
};
services.jack.alsa.support32Bit = true;
services.pipewire.alsa.support32Bit = true;
}