From 7a61dc825806d8df4b72c5bb98ad4b34ba1476c8 Mon Sep 17 00:00:00 2001 From: Nexoniarz Date: Sat, 17 Oct 2026 18:19:31 +0200 Subject: [PATCH] Run AppImages directly via appimage-run binfmt Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- modules/apps.nix | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 18a674e..59d395b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ My personal NixOS system configuration. | `modules/audio.nix` | PipeWire | | `modules/desktop.nix` | Plasma, SDDM, fonts, theming | | `modules/users.nix` | Account, shell, Steam, Flatpak | -| `modules/apps.nix` | Installed packages, nix-ld | +| `modules/apps.nix` | Installed packages, nix-ld, AppImage support | | `modules/default-apps.nix` | MIME associations | | `modules/scripts.nix` | Custom scripts in `modules/scripts/` | | `modules/fastfetch.nix` | Installs `configs/fastfetch/config.jsonc` system-wide | diff --git a/modules/apps.nix b/modules/apps.nix index adee437..f87318e 100644 --- a/modules/apps.nix +++ b/modules/apps.nix @@ -123,4 +123,9 @@ in libxrandr libxcursor libxcb libxkbcommon alsa-lib mesa zlib stdenv.cc.cc ]; + + # Registers AppImages with binfmt_misc, so ./Foo.AppImage (or a double-click + # in Dolphin) runs straight through appimage-run's FHS environment. + programs.appimage.enable = true; + programs.appimage.binfmt = true; }