install neovim
This commit is contained in:
parent
1a86120bab
commit
9e75af3939
3 changed files with 14 additions and 2 deletions
|
@ -49,12 +49,12 @@ in
|
|||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
curl
|
||||
git
|
||||
btop
|
||||
ripgrep
|
||||
vim
|
||||
];
|
||||
gnome.excludePackages = with pkgs; [ gnome-tour gnome.epiphany gnome.geary gnome-console ];
|
||||
};
|
||||
|
|
13
home.nix
13
home.nix
|
@ -12,6 +12,17 @@
|
|||
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
defaultEditor = true;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
mason-nvim
|
||||
];
|
||||
extraLuaConfig = builtins.readFile ./neovim.lua;
|
||||
};
|
||||
alacritty = {
|
||||
enable = true;
|
||||
settings = (import ./alacritty.nix);
|
||||
|
@ -54,7 +65,7 @@
|
|||
enable = true;
|
||||
userName = "Pim Kunis";
|
||||
userEmail = "pim@kunis.nl";
|
||||
extraConfig.core.editor = "vim";
|
||||
extraConfig.core.editor = "nvim";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
1
neovim.lua
Normal file
1
neovim.lua
Normal file
|
@ -0,0 +1 @@
|
|||
require("mason").setup()
|
Reference in a new issue