mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nix] Split up program configs into files
Co-Authored-By: Winter <winter@winter.cafe>
This commit is contained in:
parent
3530a88e81
commit
849c0fef38
4 changed files with 61 additions and 51 deletions
27
nix/hosts/alymac/nvim.nix
Normal file
27
nix/hosts/alymac/nvim.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue