Add gaming support

This commit is contained in:
GHOSCHT 2023-10-14 18:53:04 +02:00
parent 1410bbdca4
commit 90b805e002

View file

@ -0,0 +1,24 @@
{
config,
pkgs,
nur,
lib,
unstable,
...
}: {
environment.systemPackages = [
unstable.heroic # Game Launcher
unstable.lutris # Game Launcher
unstable.steam # Game Launcher
];
programs = {
steam = {
enable = true;
};
gamemode.enable = true; # Better Gaming Performance
# 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
};
}