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; }