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

31 lines
528 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 =
[ ]
++ (with pkgs.obs-studio-plugins; [
obs-backgroundremoval
obs-gstreamer
obs-pipewire-audio-capture
obs-vaapi
obs-vkcapture
wlrobs
]);
};
};
}