{
  description = "Description for the project";

  inputs = {
    flake-parts.url = "github:hercules-ci/flake-parts";
    nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
    treefmt-nix = {
      url = "github:numtide/treefmt-nix";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    systems.url = "github:nix-systems/default";
  };

  outputs =
    inputs@{ flake-parts, ... }:
    flake-parts.lib.mkFlake { inherit inputs; } {
      imports = [ inputs.treefmt-nix.flakeModule ];
      systems = import inputs.systems;

      perSystem =
        { pkgs, ... }:
        {
          # Export pkgs.hello so we can test this action
          packages = { inherit (pkgs) hello; };

          # Setup formatters
          treefmt = {
            # Ignore images
            settings.global.excludes = [
              "*.png"
              "dist/*"
            ];
            projectRootFile = "flake.nix";
            programs = {
              nixfmt.enable = true;
              shfmt.enable = true;
              shellcheck.enable = true;
              statix.enable = true;
              typos.enable = true;
              yamlfmt.enable = true;
            };
          };
        };
    };
}
