Add AppImage support.

This commit is contained in:
Nolan Darilek 2025-02-24 14:28:00 -06:00
parent 1d0cbcd92c
commit b3c9c2bf03

View file

@ -17,4 +17,13 @@
]; ];
environment.variables.EDITOR = "vim"; environment.variables.EDITOR = "vim";
boot.binfmt.registrations.appimage = {
wrapInterpreterInShell = false;
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";
offset = 0;
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
magicOrExtension = ''\x7fELF....AI\x02'';
};
} }