blob: ff33f6b870a9e5c858fec948975e3658a2646f15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ 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;
discord.enable = false; # Don't also install regular discord (enabled by default fsr)
equibop = {
enable = true;
settings = {
minimizeToTray = false; # Fully close discord when the window is closed.
};
};
config = {
useQuickCss = true;
themeLinks = [ "https://refact0r.github.io/system24/build/system24.css" ];
enabledThemes = [ "https://refact0r.github.io/system24/build/system24" ];
disableMinSize = true; # make the window any size
plugins = {
homeTyping.enable = true; # Typing icon replaces home icon when someone is typing in dms
keyboardNavigation.enable = true; # Adds command palette for keyboard nav
findReply.enable = true; # Adds a button to find the earliest reply in a chain.
youtubeAdblock.enable = true; # Block ads in youtube embeds
ClearURLs.enable = true; # Remove trackers from URLs like amazon
OnePingPerDM.enable = true; # Only hear one ping from multiple dms.
declutter = {
enable = true; # Removes discord UI clutter (quests, shop, etc)
removeQuestsAboveDM = true;
removeShopAboveDM = true;
};
};
};
};
};
}
|