diff --git a/configuration.nix b/configuration.nix index 78bf9da..1fbddf6 100755 --- a/configuration.nix +++ b/configuration.nix @@ -132,6 +132,7 @@ openssh python3 (pkgs.catppuccin-sddm.override { flavor = "mocha"; }) + steam-run ]; environment.variables.EDITOR = "nvim"; @@ -145,6 +146,32 @@ programs.dconf.enable = true; + programs.steam = { + enable = true; + remotePlay.openFirewall = true; + dedicatedServer.openFirewall = true; + localNetworkGameTransfers.openFirewall = true; + gamescopeSession.enable = true; + }; + + nixpkgs.config.packageOverrides = pkgs: { + steam = pkgs.steam.override { + extraPkgs = pkgs: with pkgs; [ + xorg.libXcursor + xorg.libXi + xorg.libXinerama + xorg.libXScrnSaver + libpng + libpulseaudio + libvorbis + stdenv.cc.cc.lib + libkrb5 + keyutils + ]; + }; + }; + + # List services that you want to enable: # Enable the OpenSSH daemon.