dotfiles/modules/editor/neovim.nix
2022-04-28 20:46:00 -04:00

14 lines
282 B
Nix

{ 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";
home.sessionVariables = { EDITOR = "nvim"; };
}