Hi everyone,
I wanted to try OBS.Ninja during this lockdown but whatever I do, it does not appear in OBS’s sources menu:
I’ve installed obs-studio and obs-linuxbrowser.
Anyone tried this recently?
Thanks for the help and all the best,
Hi everyone,
I wanted to try OBS.Ninja during this lockdown but whatever I do, it does not appear in OBS’s sources menu:
I’ve installed obs-studio and obs-linuxbrowser.
Anyone tried this recently?
Thanks for the help and all the best,
This is from the obs-linuxbrowser Nix package source code:
# We don't have a wrapper which can supply obs-studio plugins so you have to
# somewhat manually install this:
# nix-env -f . -iA obs-linuxbrowser
# mkdir -p ~/.config/obs-studio/plugins
# ln -s ~/.nix-profile/share/obs/obs-plugins/obs-linuxbrowser ~/.config/obs-studio/plugins/
In a nutshell, the OBS Nix package doesn’t have a way for users to provide plugins. The plugin packages exist, but as you experienced, OBS doesn’t see the plugins when installed. The aforementioned hack is a workaround you can use, until a volunteer adds plugin functionality to the OBS Nix package. It’s possible that in the future you’d be able to do something like:
environment.systemPackages = with pkgs; [
(obs-studio.override { plugins = [ obs-linuxbrowser ]; })
];
Hey @emmanuelrosa,
Thanks a lot, works like a charm! I did look at the github source code but not the nix package source – I’ll keep that in mind for my futur problems !
In case someone is struggling with the instructions, you just have to change nix-env -f . -iA obs-linuxbrowser
to nix-env -f . -iA nixos.obs-linuxbrowser
.