30 lines
566 B
Nix
Executable file
30 lines
566 B
Nix
Executable file
{ pkgs, ... }:
|
|
{
|
|
environment.variables = {
|
|
EDITOR = "vim";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
(neovim.override {
|
|
vimAlias = true;
|
|
configure = {
|
|
packages.myPlugins = with pkgs.vimPlugins; {
|
|
start = [
|
|
vim-lastplace
|
|
vim-nix
|
|
vim-airline
|
|
];
|
|
opt = [ ];
|
|
};
|
|
customRC = ''
|
|
" your custom vimrc
|
|
set nocompatible
|
|
set backspace=indent,eol,start
|
|
colorscheme vim
|
|
" ...
|
|
'';
|
|
};
|
|
})
|
|
];
|
|
}
|