mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
31 lines
624 B
Nix
31 lines
624 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./stubs.nix ];
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
vimAlias = true;
|
|
withNodeJs = false;
|
|
withPython3 = true;
|
|
withRuby = false;
|
|
|
|
extraPython3Packages = (
|
|
ps: with ps; [
|
|
jedi
|
|
pynvim
|
|
]
|
|
);
|
|
|
|
# plugins without associated config should not trigger the creation of init.vim
|
|
plugins = with pkgs.vimPlugins; [
|
|
vim-fugitive
|
|
({ plugin = vim-sensible; })
|
|
];
|
|
};
|
|
nmt.script = ''
|
|
nvimFolder="home-files/.config/nvim"
|
|
assertPathNotExists "$nvimFolder/init.vim"
|
|
assertPathNotExists "$nvimFolder/init.lua"
|
|
'';
|
|
}
|