mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
shell.nix: replace Nix formatter with nixfmt
This commit is contained in:
parent
4c9852ece4
commit
509070cf78
@ -13,6 +13,7 @@ pkgs.mkShell {
|
||||
asciidoctor
|
||||
disko
|
||||
deploy-rs
|
||||
nixos-anywhere
|
||||
home-manager
|
||||
git
|
||||
sops
|
||||
@ -33,6 +34,6 @@ pkgs.mkShell {
|
||||
treefmt # The universal formatter (if you configured it).
|
||||
stylua # ...for Lua.
|
||||
black # ...for Python.
|
||||
nixpkgs-fmt # ...for Nix.
|
||||
nixfmt # ...for Nix.
|
||||
] ++ extraPackages;
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ command = "stylua"
|
||||
includes = [ "*.lua" ]
|
||||
|
||||
[formatter.nix]
|
||||
command = "nixpkgs-fmt"
|
||||
command = "nixfmt"
|
||||
includes = [ "*.nix" ]
|
||||
|
||||
[formatter.python]
|
||||
|
Loading…
Reference in New Issue
Block a user