From 14b0ceb90c80793f013ebff6d824c2cead544501 Mon Sep 17 00:00:00 2001 From: brustybee Date: Sun, 15 Mar 2026 02:55:19 +0530 Subject: neovim matugen template --- .../modules/matugen/templates/matugen-neovim.nix | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 common/modules/matugen/templates/matugen-neovim.nix (limited to 'common/modules/matugen/templates/matugen-neovim.nix') diff --git a/common/modules/matugen/templates/matugen-neovim.nix b/common/modules/matugen/templates/matugen-neovim.nix new file mode 100644 index 0000000..dcb84a2 --- /dev/null +++ b/common/modules/matugen/templates/matugen-neovim.nix @@ -0,0 +1,28 @@ +{ + config, + lib, + ... +}: +{ + config = lib.mkIf config.beeMods.beeVim.enable { + xdg.configFile = { + "matugen/templates/neovim.json" = { + text = + # json + '' + { + "source_color": "{{colors.primary.default.hex}}", + <* if {{ is_dark_mode }} *> + "background": "{{colors.background.default.hex}}", + <* else *> + "background": "{{colors.surface_container.default.hex}}", + <* endif *> + "harmony": 0.5, + "mode": "{{mode}}" + } + ''; + + }; + }; + }; +} -- cgit v1.3.1