nix-config/hosts/common/optional/gaming/steam.nix
GHOSCHT e27ad55ae9
Switch from home-manager steam to system steam
couldn't connect to server or sth. like that otherwise
2023-12-27 22:49:37 +01:00

18 lines
578 B
Nix

{pkgs, ...}: {
environment.systemPackages = with pkgs.unstable; [
heroic # Game Launcher
lutris # Game Launcher
steam # Game Launcher
];
programs = {
steam = {
enable = true;
remotePlay.openFirewall = true;
gamescopeSession.enable = false;
};
# Steam: Right-click game - Properties - Launch options: gamemoderun %command%
# Lutris: General Preferences - Enable Feral GameMode
# - Global options - Add Environment Variables: LD_PRELOAD=/nix/store/*-gamemode-*-lib/lib/libgamemodeauto.so
};
}