cerulean/nix/snow/flake/modules/formatter.nix

27 lines
451 B
Nix
Raw Normal View History

2026-03-14 22:18:28 +10:00
{
lib,
snow,
...
}: let
inherit
(lib)
mkOption
types
;
2026-03-14 22:18:28 +10:00
inherit
(snow)
mkPerSystemFlakeOutput
;
in
2026-03-14 22:18:28 +10:00
mkPerSystemFlakeOutput {
name = "formatter";
option = mkOption {
type = types.nullOr types.package;
default = null;
description = ''
2026-03-14 22:18:28 +10:00
A package used by [`nix fmt`](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-fmt.html).
'';
};
2026-03-14 22:18:28 +10:00
file = ./apps.nix;
}