try out alejandra and shorten bin paths
This commit is contained in:
parent
59ca85f8d6
commit
f69efddb53
2 changed files with 5 additions and 4 deletions
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
|
@ -11,12 +11,12 @@
|
||||||
"files.trimTrailingWhitespace": true,
|
"files.trimTrailingWhitespace": true,
|
||||||
"sops.defaults.ageKeyFile": "age.key",
|
"sops.defaults.ageKeyFile": "age.key",
|
||||||
"nix.enableLanguageServer": true,
|
"nix.enableLanguageServer": true,
|
||||||
"nix.serverPath": "/run/current-system/sw/bin/nixd",
|
"nix.serverPath": "nixd",
|
||||||
"nix.formatterPath": "/run/current-system/sw/bin/nixfmt",
|
"nix.formatterPath": "alejandra",
|
||||||
"nix.serverSettings": {
|
"nix.serverSettings": {
|
||||||
"nixd": {
|
"nixd": {
|
||||||
"formatting": {
|
"formatting": {
|
||||||
"command": ["nixfmt"]
|
"command": ["alejandra"]
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"nixos": {
|
"nixos": {
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nix": {
|
"nix": {
|
||||||
"binary": "/run/current-system/sw/bin/nix",
|
"binary": "nix",
|
||||||
"maxMemoryMB": null,
|
"maxMemoryMB": null,
|
||||||
"flake": {
|
"flake": {
|
||||||
"autoEvalInputs": true,
|
"autoEvalInputs": true,
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
nixd
|
nixd
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
unstable.nixfmt-rfc-style # nixfmt RFC 166-style compatible with nixpkgs soon
|
unstable.nixfmt-rfc-style # nixfmt RFC 166-style compatible with nixpkgs soon
|
||||||
|
alejandra
|
||||||
|
|
||||||
# dev
|
# dev
|
||||||
bash-language-server
|
bash-language-server
|
||||||
|
|
Loading…
Reference in a new issue