[nix] Manage the neovim config
This commit is contained in:
parent
4230e24e65
commit
3530a88e81
|
@ -8,7 +8,6 @@ let
|
||||||
libtool
|
libtool
|
||||||
patchelf
|
patchelf
|
||||||
pcre
|
pcre
|
||||||
pinentry
|
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -30,7 +29,7 @@ let
|
||||||
kubectl
|
kubectl
|
||||||
kubelogin-oidc
|
kubelogin-oidc
|
||||||
mosh
|
mosh
|
||||||
neovim
|
# neovim # already managed by home-manager
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
ripgrep
|
ripgrep
|
||||||
sops
|
sops
|
||||||
|
@ -125,6 +124,30 @@ in
|
||||||
|
|
||||||
programs.gitui.enable = true;
|
programs.gitui.enable = true;
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# DO NOT CHANGE UNLESS YOU ARE ABSOLUTELY SURE ALL STATE AFFECTED BY THIS
|
# DO NOT CHANGE UNLESS YOU ARE ABSOLUTELY SURE ALL STATE AFFECTED BY THIS
|
||||||
# OPTION IS APPROPRIATELY MIGRATED!!!
|
# OPTION IS APPROPRIATELY MIGRATED!!!
|
||||||
home.stateVersion = "23.05"; # did you read the comment?
|
home.stateVersion = "23.05"; # did you read the comment?
|
||||||
|
@ -151,6 +174,7 @@ in
|
||||||
"croc"
|
"croc"
|
||||||
"ddev"
|
"ddev"
|
||||||
"mkcert"
|
"mkcert"
|
||||||
|
"pinentry-mac"
|
||||||
"pkg-config"
|
"pkg-config"
|
||||||
"sdl2"
|
"sdl2"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue