aboutsummaryrefslogtreecommitdiff
path: root/modules/home-manager/nixcord.nix
blob: 8b085c4c477c89275290b64e4f8a163074eb2bcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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;
      config = {
        themeLinks = [
          "https://github.com/TheCommieAxolotl/BetterDiscord-Stuff/blob/main/Ultra/Ultra.theme.css"
        ];
        frameless = true;
        plugins = {
          alwaysAnimate.enable = true;
          clearURLs.enable = true;
        };
      };
    };
  };
}