nix-flakes/modules/home/devtool/neovim.nix
2026-07-05 13:31:18 +09:00

23 lines
409 B
Nix

{
pkgs,
config,
lib,
...
}:
{
programs.neovim = {
enable = true;
withRuby = true;
withPython3 = true;
viAlias = true;
vimAlias = true;
};
home.activation.nvimConfigRepo = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
target="${config.xdg.configHome}/nvim"
rm -rf "$target"
${pkgs.git}/bin/git clone https://git.pari.ng/imnyang/nvim-config.git "$target"
'';
}