{
  lib,
  config,
  ...
}: let
  cfg = config.marleyos.programs.gui;

  inherit (lib.marleyos) enabled;
in {
  options.marleyos.programs.gui.enable = lib.mkEnableOption "gui";

  config = lib.mkIf cfg.enable {
    marleyos.programs = {
      CEmu = enabled;
      calibre = enabled;
      discord = enabled;
      floorp = enabled;
      nemo = enabled;
      pidgin = enabled;
      thunderbird = enabled;
      phpstorm = enabled;
      wezterm = enabled;
      zathura = enabled;
    };
  };
}
