summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates
diff options
context:
space:
mode:
authorbeeb5k <beebeeb5k@gmail.com>2026-08-31 17:10:07 +0530
committerbeeb5k <beebeeb5k@gmail.com>2026-08-31 17:10:07 +0530
commite1f5bdaa2e8c8c482fb0526a81c73197e9d28f59 (patch)
tree556b7ec0a8baa42d418fb1a2a3ad60677d4d2001 /common/modules/matugen/templates
parent9059d75874cdb0006ee4c1d39f8276aa9004be9a (diff)
custom neovim matugen theme with noctalia
and update system and other stuff i dont really remember
Diffstat (limited to 'common/modules/matugen/templates')
-rw-r--r--common/modules/matugen/templates/matugen-niri.nix2
-rw-r--r--common/modules/matugen/templates/matugen-nvim.nix34
2 files changed, 19 insertions, 17 deletions
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 *>
+ }
+ '';
+ };
+ };
};
- };
- };
}