nix/modules/appimage/default.nix

11 lines
312 B
Nix
Raw Normal View History

2024-08-21 09:02:49 +02:00
{pkgs, ...}: {
2024-07-09 22:20:44 +02:00
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'';
};
}