Nix-env -iA wrapOBS

Hi!

How i install OBS Studio with plugins using nix-env -iA? I’m using Arch Linux with nix package manager.

I see the OBS Studio - NixOS Wiki, but not understand how to use that script:

environment.systemPackages = [
  (pkgs.wrapOBS {
    plugins = with pkgs.obs-studio-plugins; [
      wlrobs
      obs-backgroundremoval
      obs-pipewire-audio-capture
    ];
  })
];

Thanks!

https://stop-using-nix-env.privatevoid.net/

Instead of nix-env -i <nixpkgs package>, use something that can properly manage profiles, like home-manager or the solution presented in Expression for a buildEnv-based declarative user environment. · GitHub.