diff --git a/plugins/lsp/nix.nix b/plugins/lsp/nix.nix index d78bea3..2538126 100644 --- a/plugins/lsp/nix.nix +++ b/plugins/lsp/nix.nix @@ -1,12 +1,10 @@ -{lib, pkgs, self, ...}: { +{ lib, pkgs, self, ... }: { plugins.lsp.servers.nixd = { enable = true; settings = let flake = ''(builtins.getFlake "${self}")''; in { nixpkgs.expr = "import ${flake}.inputs.nixpkgs { }"; - formatting = { - command = [ "${lib.getExe pkgs.nixfmt-rfc-style}" ]; - }; + formatting.command = [ "${lib.getExe pkgs.nixfmt-rfc-style}" ]; }; }; -} \ No newline at end of file +}