From 7ca0b70a5c90eb027020c9535edd0d5f51dd7769 Mon Sep 17 00:00:00 2001 From: sajenim Date: Tue, 2 May 2023 17:04:06 +0800 Subject: [PATCH] move nvim.nix to neovim-jsm/default.nix --- home-manager/home.nix | 4 ++- home-manager/programs/nvim.nix | 57 ---------------------------------- 2 files changed, 3 insertions(+), 58 deletions(-) delete mode 100644 home-manager/programs/nvim.nix diff --git a/home-manager/home.nix b/home-manager/home.nix index 0ddc71f..d82e3de 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -14,12 +14,14 @@ # Jasmine's Desktop Environment ./jade/default.nix + + # Configurations + ./config/neovim-jsm/default.nix # Programs ./programs/discocss.nix ./programs/git.nix ./programs/mangohud.nix - ./programs/nvim.nix ./programs/zsh.nix ]; diff --git a/home-manager/programs/nvim.nix b/home-manager/programs/nvim.nix deleted file mode 100644 index c46dc6a..0000000 --- a/home-manager/programs/nvim.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ inputs, outputs, lib, config, pkgs, ... }: - -{ - home.packages = with pkgs; [ - # Language servers - clang-tools # C, C++, Objective C/C++, OpenCL, CUDA, and RenderScript - haskell-language-server # Haskell - lua-language-server # Lua - nil # Nix - ]; - - programs.neovim = { - enable = true; - package = pkgs.neovim-unwrapped; - plugins = with pkgs.vimPlugins; [ - # Install all grammar packages - # nvim-treesitter.withAllGrammars - - # Or specific grammar packages only - (nvim-treesitter.withPlugins (p: [ - p.c - p.lua - p.nix - ])) - - # Quality of Life Enhancements - comment-nvim # Smart and powerful commenting - - # User Interface - gruvbox-material # Theme - dashboard-nvim # Start screen - nvim-tree-lua # File explorer - lualine-nvim # Statusline - - # Git Integration - vim-fugitive # Call any arbitary git command - gitsigns-nvim # Git decorations - - # Autocompletion - nvim-lspconfig # Collection of configurations for built-in LSP client - nvim-cmp # Autocompletion plugin - cmp-nvim-lsp # LSP source for nvim-cmp - cmp_luasnip # Snippets source for nvim-cmp - luasnip # Snippets plugin - - # Misc - vim-shellcheck # Static analysis tool for shell scripts - - # Dependencies - nvim-web-devicons # Provides icons - ]; - }; - - xdg.configFile = { - nvim = { source = ../../config/nvim; recursive = true; }; - }; -}