dotfiles/modules/nixos/apps/steam/default.nix
Alejandro Angulo 781964e875
Updated lock file
Also updated steam config (was using deprecated options)
2024-06-28 14:29:42 -07:00

29 lines
483 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;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
};
hardware.graphics = {
enable = true;
enable32Bit = true;
};
};
}