helm/modules/editors/vim.nix
2019-12-09 02:56:13 -05:00

16 lines
281 B
Nix

{ config, lib, pkgs, ... }:
{
environment = {
sessionVariables = {
EDITOR = "nvim";
VIMINIT = "let \\$MYVIMRC='\\$XDG_CONFIG_HOME/nvim/init.vim' | source \\$MYVIMRC";
};
systemPackages = with pkgs; [
editorconfig-core-c
neovim
];
};
}