From d14f55ebd557ee2ee259c95fdbb249d1b226c2a9 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 8 Feb 2024 20:06:24 +0100 Subject: [PATCH] appimage support --- systems/kuraokami/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/systems/kuraokami/default.nix b/systems/kuraokami/default.nix index 5ba8684..b5c8213 100644 --- a/systems/kuraokami/default.nix +++ b/systems/kuraokami/default.nix @@ -113,6 +113,15 @@ gamemode.enable = true; }; + 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''; + }; + nix.settings.system-features = [ "gccarch-alderlake" "benchmark" "big-parallel" "kvm" "nixos-test" ] ++ map (x: "gccarch-${x}") (lib.systems.architectures.inferiors.alderlake or [ ]); }