diff --git a/config/shared.nix b/config/shared.nix index 06c4655..e388098 100644 --- a/config/shared.nix +++ b/config/shared.nix @@ -32,6 +32,7 @@ # List packages installed in system profile. environment.systemPackages = with pkgs; [ git + screen killall ]; diff --git a/home/neovim.nix b/home/neovim.nix index 1ffcc5a..f6fe340 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -2,10 +2,15 @@ programs.neovim = { enable = true; vimAlias = true; - }; + coc = { + enable = true; + settings = { + "diagnostic.checkCurrentLine" = true; + }; + }; - home.file = { - ".config/nvim/init.vim".source = ../dotfiles/.config/nvim/init.vim; - ".config/nvim/coc-settings.json".source = ../dotfiles/.config/nvim/init.vim; + plugins = with pkgs.vimPlugins; [ + vim-airline + ]; }; }