add nixvim

This commit is contained in:
Aditya 2024-09-12 23:09:24 +05:30
parent 3a05e0b63f
commit 5fba336e64
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
2 changed files with 22 additions and 0 deletions

View file

@ -13,6 +13,7 @@
./media
./monitor
./neovim
./nixvim
./office
./session-vars
./tmux

View file

@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
...
}: {
options = {
nixvim.enable = lib.mkEnableOption "enable nixvim";
};
config = lib.mkIf config.nixvim.enable {
programs.nixvim = {
enable = true;
plugins = {
};
extraPlugins = with pkgs.vimPlugins; [
ultisnips
];
};
};
}