2023-01-09 15:03:01 +00:00
|
|
|
{ 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 12:05:46 +00:00
|
|
|
programs.steam = {
|
|
|
|
enable = true;
|
|
|
|
remotePlay.openFirewall = true;
|
|
|
|
dedicatedServer.openFirewall = true;
|
|
|
|
};
|
|
|
|
}
|