aboutsummaryrefslogtreecommitdiff
path: root/modules/home-manager/nixcord.nix
blob: 26cd39c308e68ef8e026b18553f3c43216e448d2 (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
{
  config,
  lib,
  ...
}:

{
  options.nixcord.enable = lib.mkEnableOption "Enable nixcord and setup";
  config = lib.mkIf config.nixcord.enable {
    programs.nixcord = {
      enable = true; # enable Nixcord. Also installs discord package
      #quickCss = "some CSS";  # quickCSS file
      config = {
        #useQuickCss = true;   # use our quickCSS
        #themeLinks = [        # or use an online theme
        #  "https://raw.githubusercontent.com/link/to/some/theme.css"
        #];
        frameless = true; # set some Vencord options
        plugins = {
          hideAttachments.enable = true; # Enable a Vencord plugin
          ignoreActivities = {
            # Enable a plugin and set some options
            enable = true;
            ignorePlaying = true;
            ignoreWatching = true;
          };
        };
      };
    };
  };
}