Setcap fails (read only filesysyem)

Trying to run a binary that requires

setcap

however it fails as the /nix/store is read only.

How is setcap handled in nixos? what are my options?

See security.wrappers NixOS option.