nix-config/modules/programs/games.nix
2023-10-14 18:53:04 +02:00

24 lines
606 B
Nix

{
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
};
}