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

{
  options.nixcord.enable = lib.mkEnableOption "Enable nixcord and setup";
  config = lib.mkIf config.nixcord.enable {
    programs.nixcord = {
      enable = true;
      #discord.enable = false;
      #vesktop.enable = true;
      #quickCss = "some CSS";  # quickCSS file
      config = {
        #useQuickCss = true;   # use our quickCSS
        themeLinks = [
          # or use an online theme
          "https://refact0r.github.io/system24/theme/system24.theme.css"
        ];
        frameless = true; # set some Vencord options
        plugins = {
          alwaysAnimate.enable = false;
          hideAttachments.enable = true;
          imageLink.enable = true;
          imageZoom.enable = true;
          translate.enable = true;
        };
      };
    };
  };
}