21 lines
481 B
Nix
21 lines
481 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
environment.systemPackages = [
|
|
((pkgs.vim_configurable).customize {
|
|
name = "vim";
|
|
vimrcConfig.customRC = builtins.readFile ./vimrc;
|
|
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; { start = [
|
|
"undotree"
|
|
"YouCompleteMe"
|
|
#"UltiSnips"
|
|
# vim-nix handles indentation better but does not perform sanity
|
|
"vim-addon-nix"
|
|
"vim-better-whitespace"
|
|
];
|
|
};
|
|
})
|
|
];
|
|
}
|