30 lines
748 B
Nix
30 lines
748 B
Nix
{
|
|||
|
|
flake.modules.homeManager.obs = {
|
||
|
|
config,
|
||
|
|
lib,
|
||
|
|
pkgs,
|
||
|
|
...
|
||
|
|
}:
|
||
|
|
with lib; let
|
||
|
|
cfg = config.home.desktop.obs;
|
||
|
|
obs-image-reaction = pkgs.callPackage ../../../packages/obs-image-reaction.nix {};
|
||
|
|
in {
|
||
|
|
options.home.desktop.obs.enable = mkEnableOption "Enables OBS Studio";
|
||
|
|
config.programs.obs-studio = mkIf cfg.enable {
|
||
|
|
inherit (cfg) enable;
|
||
|
|
plugins = with pkgs.obs-studio-plugins; [
|
||
|
|
input-overlay
|
||
|
|
obs-backgroundremoval
|
||
|
|
obs-markdown
|
||
|
|
obs-mute-filter
|
||
|
|
obs-pipewire-audio-capture
|
||
|
|
obs-scale-to-sound
|
||
|
|
obs-source-clone
|
||
|
|
obs-source-record
|
||
|
|
obs-tuna
|
||
|
|
obs-image-reaction
|
||
|
|
];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|