try out alejandra and shorten bin paths

This commit is contained in:
Joseph Hanson 2025-02-12 09:21:00 -06:00
parent 59ca85f8d6
commit f69efddb53
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 5 additions and 4 deletions

View file

@ -11,12 +11,12 @@
"files.trimTrailingWhitespace": true,
"sops.defaults.ageKeyFile": "age.key",
"nix.enableLanguageServer": true,
"nix.serverPath": "/run/current-system/sw/bin/nixd",
"nix.formatterPath": "/run/current-system/sw/bin/nixfmt",
"nix.serverPath": "nixd",
"nix.formatterPath": "alejandra",
"nix.serverSettings": {
"nixd": {
"formatting": {
"command": ["nixfmt"]
"command": ["alejandra"]
},
"options": {
"nixos": {
@ -25,7 +25,7 @@
}
},
"nix": {
"binary": "/run/current-system/sw/bin/nix",
"binary": "nix",
"maxMemoryMB": null,
"flake": {
"autoEvalInputs": true,

View file

@ -25,6 +25,7 @@
nixd
nixpkgs-fmt
unstable.nixfmt-rfc-style # nixfmt RFC 166-style compatible with nixpkgs soon
alejandra
# dev
bash-language-server