nix-config/modules/appimage.nix

15 lines
258 B
Nix
Raw Normal View History

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