Switch from home-manager steam to system steam

couldn't connect to server or sth. like that otherwise
This commit is contained in:
GHOSCHT 2023-12-27 22:49:37 +01:00
parent 744c486e83
commit e27ad55ae9
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
2 changed files with 19 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [
./steam.nix # ./steam.nix
]; ];
} }

View file

@ -0,0 +1,18 @@
{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
};
}