dotfiles/nix/hosts/alymac/nvim.nix
Alyxia Sother 849c0fef38
[nix] Split up program configs into files
Co-Authored-By: Winter <winter@winter.cafe>
2023-06-09 18:25:33 +02:00

27 lines
485 B
Nix

{ dotfiles, ... }:
{
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped;
extraConfig = "source ${dotfiles}/nvim/init.vim";
coc = {
enable = true;
settings = {
languageServer = {
nix = {
command = "rnix-lsp";
filetypes = [ "nix" ];
};
"go.goPlsOptions" = {
completion = true;
completeUnimported = true;
};
};
};
};
};
}