mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 10:34:54 +00:00

This introduces `freeformType` as a top-level module attribute, allowing definitions like { freeformType = ...; options = ...; config = ...; }
4 lines
95 B
Nix
4 lines
95 B
Nix
{ lib, ... }: {
|
|
freeformType = with lib.types; lazyAttrsOf (either str (lazyAttrsOf str));
|
|
}
|