This repository has been archived on 2025-03-05. You can view files and clone it, but cannot push or open issues or pull requests.

18 lines
313 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
let cfg = config.features.gaming.steam;
in {
options.features.gaming.steam.enable = mkEnableOption "enable Steam";
config = mkIf cfg.enable {
2022-12-30 13:05:46 +01:00
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
}