main
amethyst-mods-nix
A Nix flake packaging Amethyst Mod Manager
— a Linux-native (Qt/PySide6) mod manager for a variety of games — for
consumption by nixos-configs. It extracts the upstream v2.1.0 AppImage
(GPL-3.0-or-later) — which embeds a DwarFS image — at build time and runs the
unpacked tree via nixpkgs appimage-run -w, so the bundled Qt/PySide6 FHS
runtime works unmodified. packages.x86_64-linux.default is an alias.
Flake outputs
packages.x86_64-linux.amethyst-mod-manager— the wrapped app (x86_64-linux only; the upstream AppImage is x86_64).packages.x86_64-linux.default— alias for the above.overlays.default— exposesamethyst-mod-manageron any consumer package set.
Consuming from another flake
{
inputs.amethyst-mods-nix.url = "git+ssh://git@git.johnogle.info:2222/johno/amethyst-mods-nix.git";
# then either:
environment.systemPackages = [
inputs.amethyst-mods-nix.packages.x86_64-linux.amethyst-mod-manager
];
# or:
nixpkgs.overlays = [ inputs.amethyst-mods-nix.overlays.default ];
}
Future work
A from-source build is the eventual goal — see the unmerged nixpkgs PR #547296 (and the NUR package by RoGreat) for prior art. The AppImage wrap is the robust, simple stopgap.