dotfiles/modules/editor/neovim.nix

20 lines
344 B
Nix
Raw Normal View History

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