nixos/home/programs/obs-studio/default.nix

24 lines
610 B
Nix

{ 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
];
#plugins = [ obs-backgroundremoval_1_1_10 ];
};
}