fix: nix formatter in editor
Some checks failed
/ check (push) Failing after 4m16s

This commit is contained in:
Daniel Flanagan 2025-02-21 07:09:18 -06:00
parent 83d0236844
commit 079815769c
2 changed files with 4 additions and 5 deletions

View file

@ -126,10 +126,9 @@ in
}; };
packages = with pkgs; [ packages = with pkgs; [
# tools I use when editing nix code nixfmt-rfc-style
# kanidm nixd
alejandra nil
gnupg
(pkgs.buildEnv { (pkgs.buildEnv {
name = "my-common-scripts"; name = "my-common-scripts";
paths = [ ./scripts/common ]; paths = [ ./scripts/common ];

View file

@ -120,7 +120,7 @@ in
scope = "source.nix"; scope = "source.nix";
auto-format = true; auto-format = true;
formatter = { formatter = {
command = "alejandra"; command = "nixfmt";
args = [ "-" ]; args = [ "-" ];
}; };
} }