From e1f5bdaa2e8c8c482fb0526a81c73197e9d28f59 Mon Sep 17 00:00:00 2001 From: beeb5k Date: Mon, 31 Aug 2026 17:10:07 +0530 Subject: custom neovim matugen theme with noctalia and update system and other stuff i dont really remember --- common/modules/matugen/templates/matugen-niri.nix | 2 +- common/modules/matugen/templates/matugen-nvim.nix | 34 ++++++++++++----------- 2 files changed, 19 insertions(+), 17 deletions(-) (limited to 'common/modules/matugen/templates') diff --git a/common/modules/matugen/templates/matugen-niri.nix b/common/modules/matugen/templates/matugen-niri.nix index 9012878..3d365e3 100644 --- a/common/modules/matugen/templates/matugen-niri.nix +++ b/common/modules/matugen/templates/matugen-niri.nix @@ -6,7 +6,7 @@ { config = lib.mkIf (config.beeMods.windowManagers.niri.enable) { xdg.configFile = { - "matugen/templates/matugen.kdl" = { + "matugen/templates/niri.kdl" = { text = '' layout { background-color "{{colors.background.default.hex}}" diff --git a/common/modules/matugen/templates/matugen-nvim.nix b/common/modules/matugen/templates/matugen-nvim.nix index 3be508e..771d163 100644 --- a/common/modules/matugen/templates/matugen-nvim.nix +++ b/common/modules/matugen/templates/matugen-nvim.nix @@ -4,21 +4,23 @@ ... }: { - 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 *> - } - ''; + config = + lib.mkIf (config.beeMods.windowManagers.beeConfig.enable || config.beeMods.windowManagers.noctalia) + { + 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 *> + } + ''; + }; + }; }; - }; - }; } -- cgit v1.3.1