diff --git a/modules/home-manager/nixvim.nix b/modules/home-manager/nixvim.nix new file mode 100644 index 0000000..0d4007d --- /dev/null +++ b/modules/home-manager/nixvim.nix @@ -0,0 +1,26 @@ +{ config, pkgs, inputs, ... }: + +{ + programs.nixvim = { + globals.mapleader = " "; + enable = true; + viAlias = false; + vimAlias = true; + opts = { + number = true; + relativenumber = true; + shiftwidth = 2; + tabstop = 2; + expandtab = true; + incsearch = true; + }; + colorschemes.nord.enable = true; + plugins.lualine.enable = true; + plugins.nix.enable = true; + plugins.nvim-tree.enable = true; + plugins.treesitter.enable = true; + plugins.telescope.enable = true; + plugins.web-devicons.enable = true; + plugins.indent-blankline.enable = true; + }; +}