From b3c9c2bf03189e7dce2ca1b3b6fa799256ad427c Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 24 Feb 2025 14:28:00 -0600 Subject: [PATCH] Add AppImage support. --- base.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/base.nix b/base.nix index 386dd51..4526a0b 100644 --- a/base.nix +++ b/base.nix @@ -17,4 +17,13 @@ ]; 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''; + }; }