From 5db06024d727b2ca11f03d3ea6153a7946d8f720 Mon Sep 17 00:00:00 2001 From: schererleander Date: Tue, 29 Apr 2025 20:41:52 +0200 Subject: move modules --- modules/nixcord.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 modules/nixcord.nix (limited to 'modules/nixcord.nix') 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; + }; + }; + }; + }; + }; +} -- cgit v1.3.1