diff options
| author | schererleander <leander@schererleander.de> | 2025-04-29 20:41:52 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-04-29 20:41:52 +0200 |
| commit | 5db06024d727b2ca11f03d3ea6153a7946d8f720 (patch) | |
| tree | be1106562808a4197a1f489d073f7085c46f5078 /modules/nixcord.nix | |
| parent | ec0137a61d11c12cdef8e1dbd515315077be9c72 (diff) | |
move modules
Diffstat (limited to 'modules/nixcord.nix')
| -rw-r--r-- | modules/nixcord.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/nixcord.nix b/modules/nixcord.nix new file mode 100644 index 0000000..a969edf --- /dev/null +++ b/modules/nixcord.nix @@ -0,0 +1,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; + }; + }; + }; + }; + }; +} |
