mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
29 lines
596 B
Nix
29 lines
596 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) types mkOption;
|
|
in
|
|
{
|
|
options = {
|
|
meta = lib.mkOption {
|
|
apply = lib.filterAttrs (k: v: v != null);
|
|
type = types.submodule {
|
|
options = {
|
|
maintainers = lib.mkOption {
|
|
type = types.listOf types.raw;
|
|
default = [];
|
|
};
|
|
timeout = lib.mkOption {
|
|
type = types.nullOr types.int;
|
|
default = null;
|
|
};
|
|
broken = lib.mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
};
|
|
default = {};
|
|
};
|
|
};
|
|
}
|