{ config, lib, inputs, ... }: let cfg = config.features.gui.apps.discord; in { imports = [ inputs.nixcord.homeModules.nixcord ]; options.features.gui.apps.discord.enable = lib.mkEnableOption "discord"; config = lib.mkIf cfg.enable { programs.nixcord = { enable = true; equibop.enable = true; plugins = { loadingQuotes.enable = true; # Replaces loading quotes homeTyping.enable = true; # Typing icon replaces home icon when someone is typing in dms keyboardNavigation.enable = true; # Adds command palette for keyboard nav findReply = true; # Adds a button to find the earliest reply in a chain. declutter = true; # Removes discord UI clutter (quests, shop, etc) }; }; }; }