mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +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
|
asciidoctor
|
||||||
disko
|
disko
|
||||||
deploy-rs
|
deploy-rs
|
||||||
|
nixos-anywhere
|
||||||
home-manager
|
home-manager
|
||||||
git
|
git
|
||||||
sops
|
sops
|
||||||
@ -33,6 +34,6 @@ pkgs.mkShell {
|
|||||||
treefmt # The universal formatter (if you configured it).
|
treefmt # The universal formatter (if you configured it).
|
||||||
stylua # ...for Lua.
|
stylua # ...for Lua.
|
||||||
black # ...for Python.
|
black # ...for Python.
|
||||||
nixpkgs-fmt # ...for Nix.
|
nixfmt # ...for Nix.
|
||||||
] ++ extraPackages;
|
] ++ extraPackages;
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ command = "stylua"
|
|||||||
includes = [ "*.lua" ]
|
includes = [ "*.lua" ]
|
||||||
|
|
||||||
[formatter.nix]
|
[formatter.nix]
|
||||||
command = "nixpkgs-fmt"
|
command = "nixfmt"
|
||||||
includes = [ "*.nix" ]
|
includes = [ "*.nix" ]
|
||||||
|
|
||||||
[formatter.python]
|
[formatter.python]
|
||||||
|
Loading…
Reference in New Issue
Block a user