Files
mjallen18 70002a19e2 hmm
2026-04-07 18:39:42 -05:00

23 lines
480 B
Nix
Executable File

{
lib,
pkgs,
system,
...
}:
let
isArm = "aarch64-linux" == system;
in
{
boot = {
# Enable AppImage
binfmt.registrations.appimage = lib.mkIf (!isArm) {
wrapInterpreterInShell = lib.mkDefault false;
interpreter = "${lib.getExe 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";
};
};
}