{
  lib,
  config,
  pkgs,
  ...
}:
let
  cfg = config.krop.hm.packages.misc;
in
{
  options.krop.hm.packages.misc = {
    enable = lib.mkOption {
      type = lib.types.bool;
      default = true;
      example = false;
      description = "Enable my misc applications";
    };
    syncthing = lib.mkOption {
      type = lib.types.bool;
      default = true;
      example = false;
      description = "Enable syncthing";
    };
  };
  config = lib.mkIf cfg.enable {
    home.packages = with pkgs; [
      spotify
      moonlight-qt
      jetbrains-mono
      mattermost-desktop
      gparted
      lutris
      prismlauncher # REMOVE AND MOVE TO games module after refactoring
      joplin-desktop
      wireshark
      discord
      element-desktop
      vlc
      losslesscut-bin
    ];
    services.syncthing = {
      enable = true;
    };
  };
}