refactor(flake): split root output wiring
This commit was merged in pull request #77.
This commit is contained in:
12
src/flake/formatter.nix
Normal file
12
src/flake/formatter.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ inputs, system }:
|
||||
inputs.treefmt-nix.lib.evalModule inputs.nixpkgs.legacyPackages.${system} {
|
||||
projectRootFile = "flake.nix";
|
||||
|
||||
programs.nixfmt.enable = true;
|
||||
|
||||
settings.formatter.nixfmt.excludes = [
|
||||
"configs/nixos/hosts/*/hardware-configuration.nix"
|
||||
"src/xatu/testdata/*.nix"
|
||||
"third_party/**"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user