A custom Neovim configuration for Nix users.
- Install plugins with Nix
- Setup and lazy-load plugins with Lazy.nvim
- File explorer with Neo-tree
- Buffer and tab line with Bufferline
- Statusline with Lualine
- Fuzzy finding with Fzf-lua
- Autocompletion with Cmp
- Terminal with Toggleterm
- Language Server Protocol with Native LSP
- Debug Adapter Protocol with nvim-dap
- Syntax highlighting with Treesitter
- Formatting and Linting with Conform
- Git integration with Gitsigns
Warning
This configuration has only been tested in NixOS.
Directly run
nix run github:CnTeng/rx-nvim
NixOS module
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
rx-nvim = {
url = "github:CnTeng/rx-nvim";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ nixpkgs, rx-nvim, ... }:
{
nixosConfigurations = {
example = nixpkgs.lib.nixosSystem {
modules = [
rx-nvim.nixosModules.default
{ programs.rx-nvim.enable = true; }
./configuration.nix
];
};
};
};
}