mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
42cf8130d7
This introduces `freeformType` as a top-level module attribute, allowing definitions like { freeformType = ...; options = ...; config = ...; }
4 lines
87 B
Nix
4 lines
87 B
Nix
{ lib, ... }: {
|
|
freeformType = with lib.types; attrsOf (either str (attrsOf str));
|
|
}
|