mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-21 11:52:52 +00:00
add nixvim
This commit is contained in:
parent
3a05e0b63f
commit
5fba336e64
2 changed files with 22 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
./media
|
||||
./monitor
|
||||
./neovim
|
||||
./nixvim
|
||||
./office
|
||||
./session-vars
|
||||
./tmux
|
||||
|
|
21
modules/home-manager/nixvim/default.nix
Normal file
21
modules/home-manager/nixvim/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue