mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
currently ./format does a bunch of stuff with git that was only necessary for nixfmt but not nixfmt-tree, so I deleted it (just use treefmt command directly instead). I also added keep sorted to keep the really long module lists sorted (already used in nixpkgs).
10 lines
184 B
TOML
10 lines
184 B
TOML
on-unmatched = "info"
|
|
tree-root-file = "release.json"
|
|
|
|
[formatter.nixfmt]
|
|
command = "nixfmt"
|
|
includes = [ "*.nix" ]
|
|
|
|
[formatter.keep-sorted]
|
|
command = "keep-sorted"
|
|
includes = [ "*" ]
|