blob: 4c4fed573dfe7266f7ad927ebdd680823d53229e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIf;
cfg = config.apps.obs;
in {
config = mkIf cfg.enable {
programs.obs-studio = {
enable = true;
package = pkgs.obs-studio.override {
cudaSupport = config.nvidia.cuda.enable;
};
plugins = with pkgs.obs-studio-plugins; [
obs-backgroundremoval
obs-pipewire-audio-capture
obs-vaapi
obs-gstreamer
obs-vkcapture
];
};
};
}
|