Fix alejandra formatting

This commit is contained in:
Fern Garden 2025-07-10 19:54:56 +08:00
parent 091c1562f2
commit 1bf5c9fb1d

View file

@ -226,6 +226,7 @@ with lib; {
plugins = { plugins = {
colorizer.enable = true; colorizer.enable = true;
comment.enable = true;
gitsigns.enable = true; gitsigns.enable = true;
lazygit.enable = true; lazygit.enable = true;
lsp-format.enable = true; lsp-format.enable = true;
@ -255,7 +256,7 @@ with lib; {
servers = { servers = {
nixd = { nixd = {
enable = true; enable = true;
settings.formatting.command = ["alejandra"]; settings.formatting.command = ["${pkgs.alejandra}/bin/alejandra"];
settings.options.nixos.expr = "(builtins.getFlake (builtins.toString /home/fern/Repositories/flock)).nixosConfigurations.muskduck.options"; settings.options.nixos.expr = "(builtins.getFlake (builtins.toString /home/fern/Repositories/flock)).nixosConfigurations.muskduck.options";
}; };
}; };