diff options
| author | adikro <adikro@disroot.org> | 2025-11-11 00:23:29 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2025-11-11 00:23:29 +0100 |
| commit | 07cc258498d598a687e228995be5f40fd6a249a1 (patch) | |
| tree | 5784cf91ff3fe91b8f9b8d8d66102f023b65aa3c /home | |
| parent | 9e89a97d16d5cc697c3f1d9b2572609d9755c133 (diff) | |
added nixvim basics
Diffstat (limited to 'home')
| -rw-r--r-- | home/editors/nixvim.nix | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/home/editors/nixvim.nix b/home/editors/nixvim.nix index 48792a0..2835e1e 100644 --- a/home/editors/nixvim.nix +++ b/home/editors/nixvim.nix @@ -1,12 +1,34 @@ { inputs, pkgs, ... }: { imports = [ inputs.nixvim.homeModules.nixvim ]; + programs.nixvim = { enable = true; package = inputs.neovim-nightly-overlay.packages.${pkgs.stdenv.hostPlatform.system}.default; - extraPlugins = [ pkgs.vimPlugins.gruvbox ]; - colorscheme = "gruvbox"; + viAlias = true; vimAlias = true; + waylandSupport = true; + colorschemes.gruvbox.enable = true; + + plugins = { + lualine.enable = true; + nvim-autopairs.enable = true; + nix.enable = true; + treesitter.enable = true; + lsp = { + enable = true; + servers = { + nil_ls.enable = true; + clangd.enable = true; + }; + }; + }; + + opts = { + number = true; + relativenumber = true; + shiftwidth = 2; + }; }; } |
