2022-04-27 00:21:19 +02:00
|
|
|
{ lib
|
|
|
|
, pkgs
|
|
|
|
, config
|
|
|
|
, ...
|
2022-03-01 22:19:03 +01:00
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.eboskma.programs.obs-studio;
|
2022-04-27 00:21:19 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
options.eboskma.programs.obs-studio = { enable = mkEnableOption "activate obs-studio"; };
|
2021-12-18 16:23:14 +01:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.obs-studio = {
|
|
|
|
enable = true;
|
|
|
|
plugins = [
|
|
|
|
pkgs.obs-studio-plugins.wlrobs
|
2022-04-26 10:59:48 +02:00
|
|
|
# pkgs.obs-studio-plugins.obs-gstreamer
|
2021-12-18 16:23:14 +01:00
|
|
|
pkgs.obs-backgroundremoval
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|