mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
42cf8130d7
This introduces `freeformType` as a top-level module attribute, allowing definitions like { freeformType = ...; options = ...; config = ...; }
3 lines
95 B
Nix
3 lines
95 B
Nix
{ lib, ... }: {
|
|
freeformType = with lib.types; lazyAttrsOf (either str (lazyAttrsOf str));
|
|
}
|