Well what would be wrong with a .desktop
explicitely mentionning it’s not a desktop app? It’s what was proposed here AppImage(s) on NixOS (doesn't work) · Issue #472 · AppImage/AppImageKit · GitHub Personnally I’d just create a Nix desktop file using makeDesktopItem
following the above structure and use xdg.mime.defaultApplication
as you propose
1 Like