Enables nixd in VSCode

This commit is contained in:
Abhinav Sarkar 2024-08-30 12:18:11 +05:30
parent ce66acad06
commit 6459402c77
2 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,7 @@ let
nix-tree
nixfmt
nvd
nixd
statix
cachix
nix-output-monitor

View File

@ -108,6 +108,13 @@ in {
nix = {
formatterPath = "${pkgs.nixfmt}/bin/nixfmt";
enableLanguageServer = true;
serverPath = "nixd";
serverSettings = {
nixd = {
formatting.command = [ "nixfmt" ];
};
};
};
oneDarkPro = {