nixos-config/home-manager/modules/obs-studio/default.nix
Erwin Boskma 4cd0f83ce8
Some checks failed
/ check (push) Failing after 2m46s
Run nixfmt
2024-02-05 11:46:52 +01:00

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