Bluefin is almost here! Check out the full docs here: https://universal-blue.discourse.group/docs?topic=41https://projectbluefin.ioBoxbuddy: https://flathub....
I’m on Bazzite (similar to Bluefin) and I installed espanso via Nix. It was just one command to install it and one setcap to grant it permissions. The good thing about using Nix instead of Distrobox or Flatpak is that you don’t run into annoying sandbox limitations, since these binaries live on your real filesystem and can access all system resources.
The key thing to make it work is that the setcap command needs to be run against the actual nix store executable and not the symlink in your home folder. Also, this is also why a Distrobox export of this would never work, because you’d be setcapping only the symlink which is useless.
Yeah originally I used ujust on my old PC, but that command is gone in the latest Bazzite for whatever reason, so (on my new PC) I installed it using the command here: https://github.com/DeterminateSystems/nix-installer
I’m on Bazzite (similar to Bluefin) and I installed espanso via Nix. It was just one command to install it and one setcap to grant it permissions. The good thing about using Nix instead of Distrobox or Flatpak is that you don’t run into annoying sandbox limitations, since these binaries live on your real filesystem and can access all system resources.
The key thing to make it work is that the setcap command needs to be run against the actual nix store executable and not the symlink in your home folder. Also, this is also why a Distrobox export of this would never work, because you’d be setcapping only the symlink which is useless.
That’s a brilliant idea! I don’t know why using Nix didn’t occur to me.
What did you do to configure Nix on Bazzite (
ujust nix
, or something similar)? I’m willing to rebase just to try it, if necessary.Yeah originally I used ujust on my old PC, but that command is gone in the latest Bazzite for whatever reason, so (on my new PC) I installed it using the command here: https://github.com/DeterminateSystems/nix-installer