How to use Rizin and Cutter with Plugins

I have started using Cutter instead of Ghidra because Cutter has a true native dark mode. However, to work with Ghidra and other decompilers, the plugins must be installed. On Arch this is done through Pacman, but I have been unable to find the optimal solution to solving this problem on NixOS. Any help would be greatly appreciated!

Since rz-ghidra, jsdec: init at 0.6.0; rizin-sigdb: init at unstable-2023-02-13 by chayleaf · Pull Request #220885 · NixOS/nixpkgs · GitHub, you can use:

rizin.withPlugins (ps: with ps; [ jsdec rz-ghidra sigdb ])


cutter.withPlugins (ps: with ps; [ jsdec rz-ghidra sigdb ])