summaryrefslogtreecommitdiff
path: root/home.nix
diff options
context:
space:
mode:
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;