mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nix] Fix bugs and switch to nil for nix lsp
This commit is contained in:
parent
849c0fef38
commit
3afd67e5cd
3 changed files with 8 additions and 6 deletions
|
@ -21,7 +21,6 @@ let
|
|||
ffmpeg
|
||||
fzf
|
||||
gh
|
||||
# git # already managed by home-manager
|
||||
git-crypt
|
||||
gitui
|
||||
gnupg
|
||||
|
@ -29,7 +28,6 @@ let
|
|||
kubectl
|
||||
kubelogin-oidc
|
||||
mosh
|
||||
# neovim # already managed by home-manager
|
||||
nixpkgs-fmt
|
||||
ripgrep
|
||||
sops
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ dotfiles, ... }:
|
||||
{ pkgs, dotfiles, ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ dotfiles, ... }:
|
||||
{ pkgs, dotfiles, ... }:
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
|
@ -11,10 +11,14 @@
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
languageServer = {
|
||||
languageserver = {
|
||||
nix = {
|
||||
command = "rnix-lsp";
|
||||
command = "nil";
|
||||
filetypes = [ "nix" ];
|
||||
rootPatterns = [ "flake.nix" ];
|
||||
"settings.nil" = {
|
||||
"formatting.command" = ["nixpkgs-fmt"];
|
||||
};
|
||||
};
|
||||
"go.goPlsOptions" = {
|
||||
completion = true;
|
||||
|
|
Loading…
Reference in a new issue