Switch from home-manager steam to system steam
couldn't connect to server or sth. like that otherwise
This commit is contained in:
parent
744c486e83
commit
e27ad55ae9
2 changed files with 19 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./steam.nix
|
# ./steam.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
18
hosts/common/optional/gaming/steam.nix
Normal file
18
hosts/common/optional/gaming/steam.nix
Normal 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
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue