mirror of
https://github.com/nix-community/home-manager
synced 2024-11-05 02:39:45 +01:00
c7e79b5337
since we want to write it ourself in ~/.config/nvim/init.vim
22 lines
424 B
Nix
22 lines
424 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.neovim = {
|
|
enable = true;
|
|
package = pkgs.neovim-unwrapped;
|
|
vimAlias = true;
|
|
withNodeJs = false;
|
|
withPython3 = true;
|
|
withRuby = false;
|
|
|
|
extraPython3Packages = (ps: with ps; [ jedi pynvim ]);
|
|
};
|
|
nmt.script = ''
|
|
vimrc="home-files/.config/nvim/init.vim"
|
|
assertPathNotExists "$vimrc"
|
|
'';
|
|
};
|
|
}
|