nixos-config/modules/nixos/gaming.nix
2025-11-10 13:58:46 -06:00

24 lines
565 B
Nix

{ config, lib, pkgs, ... }:
{
#imports = [];
options = {
zw.gaming.enable = lib.mkEnableOption "Enable Gaming";
};
config = lib.mkIf config.zw.gaming.enable {
environment.systemPackages = with pkgs; [
mangohud
protonup-qt
# lutris # TODO: Having an issue after flake update
bottles
heroic
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
protontricks.enable = true;
gamescopeSession.enable = true;
};
};
}