move neovim to module

This commit is contained in:
Noah Masur
2022-04-28 19:11:33 -04:00
parent 80209f3a4c
commit 4ccbd8b393
4 changed files with 33 additions and 22 deletions

12
modules/editor/neovim.nix Normal file
View File

@ -0,0 +1,12 @@
{ 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";
}