diff options
Diffstat (limited to 'user/settings/base.nix')
-rw-r--r-- | user/settings/base.nix | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/user/settings/base.nix b/user/settings/base.nix index 2dc51936..7c785681 100644 --- a/user/settings/base.nix +++ b/user/settings/base.nix @@ -4,39 +4,14 @@ pkgs, ... }: { + imports = [ + ./neovim.nix + ]; # Let Home Manager install and manage itself. programs.home-manager.enable = true; manual = { html.enable = true; }; - programs.neovim = { - enable = true; - vimAlias = true; - vimdiffAlias = true; - withNodeJs = true; - plugins = with pkgs.vimPlugins; [ - commentary - coc-git - coc-json - coc-tabnine - coc-yaml - vim-surround - ]; - extraLuaConfig = builtins.readFile ../nvim/init.lua; - coc = { - enable = true; - settings = { - "json.enable" = true; - "suggest.enablePreview" = true; - languageserver = { - nix = { - command = "${pkgs.nil}/bin/nil"; - filetypes = [ "nix" ]; - }; - }; - }; - }; - }; home.sessionVariables = { EMAIL = "alan@alanpearce.eu"; XDG_CACHE_HOME = |