mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 07:25:31 -05:00
18 lines
382 B
Nix
18 lines
382 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
options = {
|
|
steam = {
|
|
enable = lib.mkEnableOption {
|
|
description = "Enable Steam";
|
|
default = false;
|
|
};
|
|
};
|
|
};
|
|
config = lib.mkIf (config.gui.enable && config.steam.enable) {
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
};
|
|
};
|
|
}
|