diff --git a/home/features/games/default.nix b/home/features/games/default.nix index 7e45005..b4688b5 100644 --- a/home/features/games/default.nix +++ b/home/features/games/default.nix @@ -1,5 +1,5 @@ {pkgs, ...}: { imports = [ - ./steam.nix + # ./steam.nix ]; } diff --git a/hosts/common/optional/gaming/steam.nix b/hosts/common/optional/gaming/steam.nix new file mode 100644 index 0000000..2920e76 --- /dev/null +++ b/hosts/common/optional/gaming/steam.nix @@ -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 + }; +}