build(eww): add eww and yuck parser

This commit is contained in:
Mohammad Rafiq 2025-03-18 23:08:05 +08:00
parent f7311c6eaa
commit 2f24231813
No known key found for this signature in database
5 changed files with 18 additions and 4 deletions

View file

@ -8,5 +8,6 @@
./programs/spicetify.nix ./programs/spicetify.nix
./programs/waybar.nix ./programs/waybar.nix
./programs/hyprlock.nix ./programs/hyprlock.nix
./programs/eww.nix
]; ];
} }

View file

@ -0,0 +1,6 @@
{
programs.eww = {
enable = true;
configDir = ./eww;
};
}

View file

View file

View file

@ -1,4 +1,5 @@
{inputs, ...}: { { inputs, pkgs, ... }:
{
imports = [ imports = [
inputs.nvf.homeManagerModules.default inputs.nvf.homeManagerModules.default
./nvf/input.nix ./nvf/input.nix
@ -48,14 +49,20 @@
} }
]; ];
luaConfigRC.turn_off_inline_diagnostics = luaConfigRC.turn_off_inline_diagnostics =
/* # lua
lua
*/
'' ''
vim.diagnostic.config({ vim.diagnostic.config({
virtual_text = false -- turn off inline diagnostics virtual_text = false -- turn off inline diagnostics
}) })
''; '';
extraPlugins = with pkgs.vimPlugins; {
yuck-vim = {
package = yuck-vim;
};
nvim-treesitter-parsers = {
package = nvim-treesitter-parsers.yuck;
};
};
}; };
}; };
} }