19 lines
423 B
Nix
19 lines
423 B
Nix
{ lib, pkgs, config, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.eboskma.programs.obs-studio;
|
|
in
|
|
{
|
|
options.eboskma.programs.obs-studio = { enable = mkEnableOption "activate obs-studio"; };
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.obs-studio = {
|
|
enable = true;
|
|
plugins = [
|
|
pkgs.obs-studio-plugins.wlrobs
|
|
pkgs.obs-studio-plugins.obs-gstreamer
|
|
pkgs.obs-backgroundremoval
|
|
];
|
|
};
|
|
};
|
|
}
|