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

24 lines
610 B
Nix
Raw Normal View History

2024-03-18 11:58:34 +00:00
{ 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 ];
};
}