From f95018e7f62b765ce846360891170158361b31db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 16 Jul 2024 03:57:11 +0200 Subject: [PATCH] Only use obs-backgroundremoval when cuda --- home/programs/obs-studio/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 + ]; }; }