nixos-config/home-manager/modules/obs-studio/default.nix

28 lines
504 B
Nix
Raw Normal View History

{ lib
, pkgs
, config
, ...
2022-03-01 22:19:03 +01:00
}:
with lib; let
cfg = config.eboskma.programs.obs-studio;
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
};
};
}