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, "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,

View file

@ -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