2022-01-30 20:19:35 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
config-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
|
|
|
name = "config-nvim";
|
|
|
|
src = ../../dotfiles/neovim;
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
home-manager.users.adrielus.programs.neovim = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.neovim-nightly;
|
2022-01-30 19:10:57 +01:00
|
|
|
|
2022-01-30 20:19:35 +01:00
|
|
|
extraConfig = ''
|
2022-01-30 19:10:57 +01:00
|
|
|
let g:disable_paq = v:true
|
|
|
|
luafile ${config-nvim}/init.lua
|
|
|
|
'';
|
|
|
|
|
2022-01-30 20:19:35 +01:00
|
|
|
plugins = with pkgs.vimExtraPlugins; [ config-nvim github-nvim-theme ];
|
|
|
|
|
2022-01-30 19:10:57 +01:00
|
|
|
};
|
|
|
|
}
|