mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
22 lines
385 B
Nix
22 lines
385 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.neovim = {
|
||
|
enable = true;
|
||
|
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"
|
||
|
'';
|
||
|
};
|
||
|
}
|