blob: 0e86bf2f18e03f7fdd8444ada612034e2e224665 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ lib, pkgs, ... }:
{
boot.binfmt.registrations =
lib.genAttrs
[
"appimage"
"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";
});
}
|