summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-nvim.nix
diff options
context:
space:
mode:
authorbeeb5k <beebeeb5k@gmail.com>2026-08-17 23:03:59 +0530
committerbeeb5k <beebeeb5k@gmail.com>2026-08-17 23:03:59 +0530
commit46b0b8ac8bc612e4bf86478e08ada33d94dad01d (patch)
treefe57e75f03b1706b91278eeb216b83041e75a4ba /common/modules/matugen/templates/matugen-nvim.nix
parent96feb69113b20a5de02d0634589675eb208d9cdd (diff)
Remove mango and user templates for noctalia
Diffstat (limited to 'common/modules/matugen/templates/matugen-nvim.nix')
-rw-r--r--common/modules/matugen/templates/matugen-nvim.nix34
1 files changed, 16 insertions, 18 deletions
diff --git a/common/modules/matugen/templates/matugen-nvim.nix b/common/modules/matugen/templates/matugen-nvim.nix
index 276d695..3be508e 100644
--- a/common/modules/matugen/templates/matugen-nvim.nix
+++ b/common/modules/matugen/templates/matugen-nvim.nix
@@ -4,23 +4,21 @@
...
}:
{
- config =
- lib.mkIf (config.wrappers.neovim.enable && config.beeMods.windowManagers.beeConfig.enable)
- {
- xdg.configFile = {
- "matugen/templates/neovim.json" = {
- text = ''
- {
- "mode": "{{mode}}",
- "source_color":"{{colors.primary.default.hex}}",
- <* if {{ is_dark_mode }} *>
- "background":"{{colors.surface.default.hex}}"
- <* else *>
- "background":"{{colors.surface_container_low.default.hex}}"
- <* endif *>
- }
- '';
- };
- };
+ config = lib.mkIf (config.wrappers.neovim.enable) {
+ xdg.configFile = {
+ "matugen/templates/neovim.json" = {
+ text = ''
+ {
+ "mode": "{{mode}}",
+ "source_color":"{{colors.primary.default.hex}}",
+ <* if {{ is_dark_mode }} *>
+ "background":"{{colors.surface.default.hex}}"
+ <* else *>
+ "background":"{{colors.surface_container_low.default.hex}}"
+ <* endif *>
+ }
+ '';
};
+ };
+ };
}