feat: prepare for treefmt-nix

This commit is contained in:
steveej 2024-11-14 14:47:14 +01:00
parent 7c9b745a3e
commit 80250b0179
4 changed files with 28 additions and 2 deletions

View file

@ -125,6 +125,10 @@
url = "github:nix-community/nixvim/nixos-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ {
@ -325,7 +329,7 @@
'';
};
formatter = pkgs.alejandra;
formatter = inputs.treefmt-nix.formatter.${system};
devShells = let
all = import ./nix/devShells.nix {