feat: add 'nixd' as nix lsp to vscode
This commit is contained in:
parent
295cfa4c67
commit
6e7d63bbfd
25
.vscode/settings.json
vendored
Normal file
25
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"files.eol": "\n",
|
||||
"[nix]": {
|
||||
"editor.tabSize": 2
|
||||
},
|
||||
"nix.enableLanguageServer": true,
|
||||
"nix.serverPath": "nixd",
|
||||
"nix.serverSettings": {
|
||||
"nixd": {
|
||||
"formatting": {
|
||||
"command": [
|
||||
"nixfmt"
|
||||
],
|
||||
},
|
||||
"options": {
|
||||
"nixos": {
|
||||
"expr": "(builtins.getFlake \"${workspaceFolder}\").nixosConfigurations.NixOS-VM.options",
|
||||
},
|
||||
// "home-manager": {
|
||||
// "expr": "(builtins.getFlake \"${workspaceFolder}\").homeConfigurations.NixOS-VM.options",
|
||||
// },
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user