2024-02-05 11:46:52 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
2022-03-01 22:19:03 +01:00
|
|
|
}:
|
2024-02-05 11:46:52 +01:00
|
|
|
with lib;
|
|
|
|
let
|
2022-03-01 22:19:03 +01:00
|
|
|
cfg = config.eboskma.programs.obs-studio;
|
2022-04-27 00:21:19 +02:00
|
|
|
in
|
|
|
|
{
|
2024-02-05 11:46:52 +01:00
|
|
|
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;
|
2024-02-05 11:46:52 +01:00
|
|
|
plugins =
|
|
|
|
[ pkgs.obs-backgroundremoval ]
|
|
|
|
++ (with pkgs.obs-studio-plugins; [
|
|
|
|
wlrobs
|
|
|
|
obs-vaapi
|
|
|
|
obs-gstreamer
|
|
|
|
obs-pipewire-audio-capture
|
|
|
|
obs-vkcapture
|
|
|
|
]);
|
2021-12-18 16:23:14 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|