flake: add treefmt
This commit is contained in:
parent
f8ee1952f8
commit
3d612c91f6
3 changed files with 50 additions and 4 deletions
8
treefmt.nix
Normal file
8
treefmt.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
projectRootFile = "flake.nix";
|
||||
programs.nixfmt.enable = true;
|
||||
programs.nixfmt.package = pkgs.nixfmt-rfc-style;
|
||||
|
||||
settings.on-unmatched = "debug";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue