22 lines
429 B
Nix
22 lines
429 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
|
|
];
|
|
};
|
|
};
|
|
}
|