chore: fix formatting and add treefmt
This commit is contained in:
parent
a26418c9c3
commit
5d55e620da
10 changed files with 49 additions and 36 deletions
8
treefmt.nix
Normal file
8
treefmt.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
projectRootFile = "flake.nix";
|
||||
programs.nixfmt.enable = true;
|
||||
programs.shellcheck.enable = pkgs.hostPlatform.system != "riscv64-linux";
|
||||
programs.shfmt.enable = pkgs.hostPlatform.system != "riscv64-linux";
|
||||
programs.yamlfmt.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue