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-backgroundremoval
|
2023-03-21 17:22:18 +01:00
|
|
|
]
|
|
|
|
++ (with pkgs.obs-studio-plugins; [
|
|
|
|
wlrobs
|
|
|
|
obs-vaapi
|
|
|
|
obs-gstreamer
|
|
|
|
obs-pipewire-audio-capture
|
|
|
|
obs-vkcapture
|
|
|
|
]);
|
2021-12-18 16:23:14 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|