nixos-config/modules/nixos/apps/steam/default.nix
Christoph Hollizeck 23e93efbf8
improvement: git, hyprland, steam
added gitbutler, introduced maintenance for nixpkgs, cleaned up some files, keyring should now unlock ad login
2025-05-06 10:38:50 +02:00

30 lines
564 B
Nix

{
config,
lib,
namespace,
options,
pkgs,
...
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.apps.steam;
in
{
options.${namespace}.apps.steam = {
enable = mkEnableOption "Whether or not to enable support for Steam.";
};
config = mkIf cfg.enable {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
extraCompatPackages = with pkgs; [ proton-ge-bin ];
};
environment.systemPackages = with pkgs; [
protontricks
];
};
}