From 03f03eee9f8417b540f0d1b0d1e8a4626d455ac3 Mon Sep 17 00:00:00 2001 From: schererleander Date: Mon, 3 Nov 2025 00:19:09 +0100 Subject: chore: reorganize modules into subcategories --- modules/programs/nixcord.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 modules/programs/nixcord.nix (limited to 'modules/programs/nixcord.nix') diff --git a/modules/programs/nixcord.nix b/modules/programs/nixcord.nix new file mode 100644 index 0000000..191dcfb --- /dev/null +++ b/modules/programs/nixcord.nix @@ -0,0 +1,32 @@ +{ + config, + lib, + inputs, + username, + ... +}: + +{ + options.nx.programs.nixcord.enable = lib.mkEnableOption "Enable nixcord and setup"; + config = lib.mkIf config.nx.programs.nixcord.enable { + home-manager.users.${username} = { ... }: { + imports = [ inputs.nixcord.homeModules.nixcord ]; + + programs.nixcord = { + enable = true; + config = { + themeLinks = [ + "https://refact0r.github.io/system24/theme/system24.theme.css" + ]; + frameless = true; + plugins = { + alwaysAnimate.enable = false; + imageLink.enable = true; + imageZoom.enable = true; + translate.enable = true; + }; + }; + }; + }; + }; +} -- cgit v1.3.1