I really like this package called emacs-anywhere. The GIF on README is worth a thousand words. I have been using it on my professional computer, on a macOS machine.
It is available for Linux via
sudo ..... Unfortunately, it is not available for NixOS - which is my OS on personal use.
1 - Is there an alternative in NixOS? Maybe a sharp script in .nix lang?
2 - How hard would it be to package this for NixOS?