From ccdef9f43b27c274efe4711e6c5a2d4fe78e261c Mon Sep 17 00:00:00 2001 From: Mora Unie Youer Date: Thu, 6 Mar 2025 16:21:06 +0300 Subject: feat: basic proof-of-concept configuration --- flake.nix | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 0f4ce50..aafbfaa 100644 --- a/flake.nix +++ b/flake.nix @@ -104,14 +104,25 @@ # This is for plugins that will load at startup without using packadd: startupPlugins = { gitPlugins = with pkgs.neovimPlugins; [ ]; - general = with pkgs.vimPlugins; [ ]; + + general = with pkgs.vimPlugins; { + always = [ lze lzextras ]; + }; + + theme = with pkgs.vimPlugins; (builtins.getAttr (categories.colorscheme or "catppuccin-mocha") { + "catppuccin-mocha" = catppuccin-nvim; + }); }; # not loaded automatically at startup. # use with packadd and an autocommand in config to achieve lazy loading optionalPlugins = { gitPlugins = with pkgs.neovimPlugins; [ ]; - general = with pkgs.vimPlugins; [ ]; + + general = with pkgs.vimPlugins; { + telescope = [ telescope-nvim ]; + extra = [ which-key-nvim ]; + }; }; # shared libraries to be added to LD_LIBRARY_PATH @@ -180,9 +191,13 @@ # and a set of categories that you want # (and other information to pass to lua) categories = { + theme = true; + colorscheme = "catppuccin-mocha"; + general = true; gitPlugins = true; customPlugins = true; + test = true; example = { youCan = "add more than just booleans"; -- cgit v1.2.3-70-g09d2