Add more/better neovim config with home-manager

This commit is contained in:
Evie Litherland-Smith 2023-04-03 11:54:22 +01:00
parent bc6bed5960
commit 19b02dba5c
2 changed files with 8 additions and 3 deletions

View file

@ -7,7 +7,6 @@
update = "sudo nixos-rebuild switch --upgrade"; update = "sudo nixos-rebuild switch --upgrade";
nr = "sudo nixos-rebuild"; nr = "sudo nixos-rebuild";
lg = "lazygit"; lg = "lazygit";
vim = "nvim";
}; };
}; };
} }

View file

@ -1,11 +1,17 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
programs.neovim.enable = true; programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withPython3 = true;
};
home.packages = with pkgs; [ home.packages = with pkgs; [
gnumake gnumake
gcc gcc
python310Packages.pynvim
python310Packages.mypy python310Packages.mypy
python310Packages.black python310Packages.black
python310Packages.isort python310Packages.isort