Right way to install Kodi and plugins?

OK, I just moved to home-manager to be able to configure kodi and enable the web server.
Addons gets installed in the /nix/store folder, but I still don’t see any plugin in the kodi interface.

I’ve published my flake here, I’m using deploy-rs to push the setup to my htpc.

Here’s how I declare the plugins:

looking at the kodi log, I can see that the addons folder is set to a non existing one:

info <general>: special://xbmcbinaddons/ is mapped to: /nix/store/dhxbrm5xrzz1rgcmc8fzx82qywmkxixx-kodi-20.5/lib/kodi/addons
...
error <general>: GetDirectory - Error getting /nix/store/dhxbrm5xrzz1rgcmc8fzx82qywmkxixx-kodi-20.5/lib/kodi/addons

Is this a bug or am I doing something wrong?