nixos-config/modules/nixos/apps/steam/default.nix
Christoph Hollizeck 0c5f9e6a67 improvement: git, hyprland, steam
added gitbutler, introduced maintenance for nixpkgs, cleaned up some files, keyring should now unlock ad login
2024-10-10 20:12:24 +02:00

31 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
];
};
}