[nix] Move neovim to it's separate programs.neovim section

This commit is contained in:
Sebastian Schulze 2022-07-29 08:44:38 +02:00
parent 8574f5ab39
commit 8df1f4ce36
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
1 changed files with 12 additions and 1 deletions

View File

@ -123,7 +123,6 @@ in
pkgs.adementary-theme pkgs.adementary-theme
pkgs.alacritty pkgs.alacritty
pkgs.appimage-run pkgs.appimage-run
pkgs.neovim
pkgs.enchant pkgs.enchant
pkgs.entr pkgs.entr
(unstable.pkgs.aspellWithDicts (dicts: with dicts; [de en en-computers en-science])) (unstable.pkgs.aspellWithDicts (dicts: with dicts; [de en en-computers en-science]))
@ -425,6 +424,18 @@ in
extraPackages = epkgs: [ epkgs.vterm epkgs.pdf-tools epkgs.org-pdftools]; extraPackages = epkgs: [ epkgs.vterm epkgs.pdf-tools epkgs.org-pdftools];
}; };
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
plugins = with pkgs.vimPlugins; [
vim-which-key
vim-nix
vim-fish
vim-surround
];
};
# This value determines the Home Manager release that your # This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage # configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards # when a new Home Manager release introduces backwards