Files
nix-config/hosts/modules/gaming.nix
Michał Czyż 720c05f9b0 new nixos dotfile layout
Signed-off-by: Michał Czyż <mike@c2yz.com>
2024-11-04 13:28:47 +01:00

29 lines
513 B
Nix
Executable File

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