Warning
This is out of date and might not work with newer nixpkgs versions. My current NeoVim config can be found here. An up-to-date module does not exist since it defies the purpose of modules.
Module providing extensive neovim configuration. For everyone who doesn't want to start configuring neovim from scratch. Custom configuration can be added using the HomeManager API.
- Include the module into your
homeConfiguration
. - Set
programs.neovim.baseConfiguration.enable = true
somewhere in your configuration.
For up-to-date configuration options check module.nix.
- Only few configuration options are provided for the preconfigured part, since adding onto this configuration can be done by using the HomeManager API.
- Change the
mapleader
with:programs.neovim.baseConfiguration.leader
- Change the
colorscheme
withprograms.neovim.baseConfiguration.colorscheme
Paste this code somewhere into your HomeManager configuration.
programs.neovim.baseConfiguration = {
enable = true;
leader = "l";
colorscheme = "spacecamp_transparent";
};