diff --git a/home/programs/obs-studio/default.nix b/home/programs/obs-studio/default.nix index 87f8565..12f0e35 100644 --- a/home/programs/obs-studio/default.nix +++ b/home/programs/obs-studio/default.nix @@ -33,6 +33,8 @@ in plugins = with pkgs.obs-studio-plugins; [ obs-pipewire-audio-capture obs-shaderfilter - ] ++ [ obs-backgrounremoval-gpu ]; + ] ++ lib.optionals withCuda [ + obs-backgrounremoval-gpu + ]; }; }