dotfiles/modules/editor/neovim.nix

14 lines
282 B
Nix
Raw Normal View History

2022-04-28 23:11:33 +00:00
{ config, pkgs, ... }: {
home.packages = with pkgs; [
neovim
gcc # for tree-sitter
];
xdg.configFile = { "nvim/init.lua".source = ../../nvim.configlink/init.lua; };
programs.git.extraConfig.core.editor = "nvim";
2022-04-29 00:46:00 +00:00
home.sessionVariables = { EDITOR = "nvim"; };
2022-04-28 23:11:33 +00:00
}