From ca8cbecec659098abfa90cc99ed8e1a9d3d6d473 Mon Sep 17 00:00:00 2001 From: emily Date: Tue, 14 May 2024 13:22:13 +0200 Subject: [PATCH] fixed nixvim --- config/common/users/emily/default.nix | 1 + config/profiles/graphical/nixvim.nix | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config/common/users/emily/default.nix b/config/common/users/emily/default.nix index 4b13e1e..68f362c 100644 --- a/config/common/users/emily/default.nix +++ b/config/common/users/emily/default.nix @@ -36,6 +36,7 @@ signal-desktop element-desktop + nixfmt-classic wl-clipboard libnotify slurp diff --git a/config/profiles/graphical/nixvim.nix b/config/profiles/graphical/nixvim.nix index 73c5494..2cc292a 100644 --- a/config/profiles/graphical/nixvim.nix +++ b/config/profiles/graphical/nixvim.nix @@ -162,12 +162,16 @@ servers = { bashls.enable = true; lua-ls.enable = true; - nixd = { + nil_ls = { enable = true; + settings.formatting.command = [ "nixfmt" "-w" "140" ]; + }; + nixd = { + enable = false; settings = { eval.depth = 5; eval.workers = 6; - formatting.command = "nixpkgs-fmt"; + formatting.command = [ "nixfmt" "-w" "140" ]; options.enable = true; }; };