mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
chore: format repo using treefmt-nix and nixfmt-rfc-style
This commit is contained in:
19
treefmt.nix
Normal file
19
treefmt.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
projectRootFile = "flake.nix";
|
||||
|
||||
programs = {
|
||||
deadnix = {
|
||||
enable = true;
|
||||
no-lambda-pattern-names = true;
|
||||
};
|
||||
nixfmt = {
|
||||
enable = true;
|
||||
package = pkgs.nixfmt-rfc-style;
|
||||
};
|
||||
};
|
||||
|
||||
settings = {
|
||||
on-unmatched = "info";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user