Add gaming support
This commit is contained in:
parent
1410bbdca4
commit
90b805e002
1 changed files with 24 additions and 0 deletions
24
modules/programs/games.nix
Normal file
24
modules/programs/games.nix
Normal 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
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue