mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:16:10 +01:00
28
hosts/modules/gaming.nix
Executable file
28
hosts/modules/gaming.nix
Executable file
@@ -0,0 +1,28 @@
|
||||
{ pkgs, username, ... }:
|
||||
{
|
||||
users.users.${username}.packages = with pkgs; [ heroic ];
|
||||
hardware.steam-hardware.enable = true;
|
||||
|
||||
programs = {
|
||||
steam = {
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
extraCompatPackages = with pkgs; [ proton-ge-bin ];
|
||||
};
|
||||
|
||||
gamemode = {
|
||||
enable = false;
|
||||
enableRenice = false;
|
||||
settings = { };
|
||||
};
|
||||
|
||||
gamescope = {
|
||||
enable = false;
|
||||
args = [
|
||||
"-w 1920 -h 1080"
|
||||
"-F nis"
|
||||
"f"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user