nix-config/modules/appimage.nix

16 lines
266 B
Nix
Raw Normal View History

{
pkgs,
lib,
config,
...
}:
with lib; let
cfg = config.modules.appimage;
in {
options.modules.appimage.enable = mkEnableOption "Enables AppImage support";
config.programs.appimage = mkIf cfg.enable {
inherit (cfg) enable;
binfmt = true;
};
}