Jörg Thalheim
9aaac528f8
alejandra has someone questionable choices for formatting that no one would apply to there code if they would format manually. nixpkgs-fmt seems to produce more readable results.
16 lines
323 B
Nix
16 lines
323 B
Nix
{ self
|
|
, inputs
|
|
, ...
|
|
}: {
|
|
imports = [
|
|
inputs.treefmt-nix.flakeModule
|
|
];
|
|
perSystem = { pkgs, ... }: {
|
|
treefmt.projectRootFile = "flake.nix";
|
|
treefmt.flakeCheck = true;
|
|
treefmt.flakeFormatter = true;
|
|
treefmt.programs.nixpkgs-fmt.enable = true;
|
|
treefmt.programs.shellcheck.enable = true;
|
|
};
|
|
}
|