aboutsummaryrefslogtreecommitdiff
path: root/modules/nixcord.nix
blob: a969edfd42f5d85ba3a16f0b22452f4ad6ed5df1 (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
{ config, lib, pkgs, inputs, ... }:

let
  cfg = config.nixcord;
in {
  options.nixcord.enable = lib.mkEnableOption "Enable nixord and setup";
  config = lib.mkIf cfg.enable {
    programs.nixcord = {
      enable = true;  # enable Nixcord. Also installs discord package
      #quickCss = "some CSS";  # quickCSS file
      config = {
        #useQuickCss = true;   # use out 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;
          };
        };
      };
    };
  };
}