dotfiles/modules/nixos/apps/steam/default.nix
alejandro-angulo 412bdb12d5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
Enable local network game transfer
2025-12-21 08:20:08 -08:00

31 lines
536 B
Nix

{
config,
pkgs,
lib,
...
}:
let
cfg = config.aa.apps.steam;
in
{
options.aa.apps.steam = {
enable = lib.options.mkEnableOption "steam";
};
config = lib.mkIf cfg.enable {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
};
hardware.graphics = {
enable = true;
enable32Bit = true;
};
};
}