nix-config/modules/gaming/default.nix

29 lines
601 B
Nix

{ ... }:
{
flake.modules.nixos.gaming =
{ pkgs, ... }:
{
programs.gamemode.enable = true;
programs.gamescope.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
gamescopeSession.enable = true;
protontricks.enable = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
extraPackages = with pkgs; [
gamescope
];
};
environment.systemPackages = with pkgs; [
lutris
steam-run
gamescope
mangohud
];
};
}