nixos-generators/format-module.nix

15 lines
336 B
Nix
Raw Normal View History

2021-06-07 03:20:11 +03:00
{ lib, ... }: {
options = {
filename = lib.mkOption {
type = lib.types.str;
description = "Declare the path of the wanted file in the output directory";
default = "*";
};
formatAttr = lib.mkOption {
type = lib.types.str;
description = "Declare the default attribute to build";
};
};
}