{ pkgs, ... }:
# let
#   obs-backgroundremoval_1_1_10 = (pkgs.obs-studio-plugins.obs-backgroundremoval.overrideAttrs {
#     version = "1.1.10";
#     src = pkgs.fetchFromGitHub {
#       owner = "occ-ai";
#       repo = "obs-backgroundremoval";
#       rev = "1.1.10";
#       hash = "sha256-6OTtmjXS3fiorEPUSjjqrS8u9fVJnnZZoD722W3JQO8=";
#     };
#   }).override {
#     onnxruntime = pkgs.unstable.onnxruntime;
#   };
# in
{
  programs.obs-studio = {
    enable = true;
    plugins = with pkgs.obs-studio-plugins; [
      obs-backgroundremoval
      obs-pipewire-audio-capture
      obs-shaderfilter
    ];
    #plugins = [ obs-backgroundremoval_1_1_10 ];
  };
}