Some checks failed
CI / check (push) Has been cancelled
CI / ida (push) Has been cancelled
CI / cpt (push) Has been cancelled
CI / build-nixos (ena) (push) Has been cancelled
CI / build-nixos (hako) (push) Has been cancelled
CI / build-nixos (kazusa) (push) Has been cancelled
CI / build-nixos (mizuki) (push) Has been cancelled
23 lines
409 B
Nix
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"
|
|
'';
|
|
}
|