nixos-config/modules/gaming.nix
2022-11-11 22:51:02 -05:00

19 lines
301 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.sconfig.gaming;
in
{
options.sconfig.gaming.enable = lib.mkEnableOption "Enable Gaming";
config = lib.mkIf cfg.enable
{
programs.steam.enable = true;
environment.systemPackages = with pkgs; [
obs-studio
];
};
}