2022-09-19 14:59:49 +00:00
|
|
|
{ config, lib, flake-parts-lib, ... }:
|
|
|
|
let
|
|
|
|
inherit (lib)
|
|
|
|
mkOption
|
|
|
|
types
|
|
|
|
;
|
|
|
|
inherit (flake-parts-lib)
|
2022-10-30 11:03:32 +00:00
|
|
|
mkTransposedPerSystemModule
|
2022-09-19 14:59:49 +00:00
|
|
|
;
|
|
|
|
in
|
2022-10-30 11:03:32 +00:00
|
|
|
mkTransposedPerSystemModule {
|
|
|
|
name = "formatter";
|
|
|
|
option = mkOption {
|
|
|
|
type = types.nullOr types.package;
|
|
|
|
default = null;
|
|
|
|
description = ''
|
2022-11-11 05:40:37 +00:00
|
|
|
A package used by [`nix fmt`](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-fmt.html).
|
2022-10-30 11:03:32 +00:00
|
|
|
'';
|
2022-09-19 14:59:49 +00:00
|
|
|
};
|
2022-10-30 11:03:32 +00:00
|
|
|
file = ./formatter.nix;
|
2022-09-19 14:59:49 +00:00
|
|
|
}
|