summaryrefslogtreecommitdiff
path: root/home.nix
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2024-03-27 01:49:44 +0000
committerGitHub <noreply@github.com>2024-03-27 01:49:44 +0000
commitef5de419fae7c47069d0fb4415626dbbfab33595 (patch)
tree0b9cebdf481cd80c0fce483a8a37f308c6cbd5da /home.nix
parentcdf380222440fdda6cc6739e8a925cbdbd7c12cb (diff)
start neovim config
Diffstat (limited to 'home.nix')
-rw-r--r--home.nix32
1 files changed, 31 insertions, 1 deletions
diff --git a/home.nix b/home.nix
index 20b94d2..8b843cc 100644
--- a/home.nix
+++ b/home.nix
@@ -23,7 +23,37 @@
];
home.sessionVariables = {
- EDITOR = "vim";
+ EDITOR = "nvim";
+ };
+
+ programs.neovim = {
+ enable = true;
+
+ plugins = with pkgs.vimPlugins; [
+ comment-nvim
+
+ {
+ plugin = lualine-nvim;
+ type = "lua";
+ config = "${builtins.readFile nvim/plugin/lualine.lua}";
+ }
+ nvim-web-devicons
+
+ {
+ plugin = gruvbox;
+ config = "colorscheme gruvbox";
+ }
+
+ {
+ plugin = nvim-lspconfig;
+ type = "lua";
+ config = "${builtins.readFile nvim/plugin/lsp.lua}";
+ }
+ ];
+
+ extraLuaConfig = ''
+ ${builtins.readFile nvim/options.lua }
+ '';
};
programs.home-manager.enable = true;