setup nix ide
This commit is contained in:
parent
7e960480a9
commit
ebda39966b
1 changed files with 27 additions and 2 deletions
29
.vscode/settings.json
vendored
29
.vscode/settings.json
vendored
|
@ -1,10 +1,35 @@
|
||||||
{
|
{
|
||||||
"editor.fontFamily": "FiraCode Nerd Font",
|
"editor.fontFamily": "CaskaydiaMono Nerd Font Mono",
|
||||||
"editor.hover.delay": 1500,
|
"editor.hover.delay": 1500,
|
||||||
"editor.bracketPairColorization.enabled": true,
|
"editor.bracketPairColorization.enabled": true,
|
||||||
"editor.guides.bracketPairs": true,
|
"editor.guides.bracketPairs": true,
|
||||||
"editor.guides.bracketPairsHorizontal": true,
|
"editor.guides.bracketPairsHorizontal": true,
|
||||||
"editor.guides.highlightActiveBracketPair": true,
|
"editor.guides.highlightActiveBracketPair": true,
|
||||||
"files.trimTrailingWhitespace": true,
|
"files.trimTrailingWhitespace": true,
|
||||||
"sops.defaults.ageKeyFile": "age.key"
|
"sops.defaults.ageKeyFile": "age.key",
|
||||||
|
"nix.enableLanguageServer": true,
|
||||||
|
"nix.serverPath": "/run/current-system/sw/bin/nil",
|
||||||
|
"nix.formatterPath": "/run/current-system/sw/bin/nixfmt",
|
||||||
|
"nix.serverSettings": {
|
||||||
|
"nil": {
|
||||||
|
"formatting": {
|
||||||
|
"command": ["nixfmt"]
|
||||||
|
},
|
||||||
|
"diagnostics": {
|
||||||
|
"ignored": [],
|
||||||
|
"excludedFiles": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nix": {
|
||||||
|
"binary": "/run/current-system/sw/bin/nix",
|
||||||
|
"maxMemoryMB": null,
|
||||||
|
"flake": {
|
||||||
|
"autoEvalInputs": true,
|
||||||
|
"autoArchive": true,
|
||||||
|
"nixpkgsInputName": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sops.binPath": "/run/current-system/sw/bin/sops",
|
||||||
|
"editor.formatOnSave": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue