This website requires JavaScript.
Explore
Help
Register
Sign In
BoomMicrophone
/
nixpkgs-suyu
Watch
1
Star
0
Fork
You've already forked nixpkgs-suyu
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
196e8a29cb
nixpkgs-suyu
/
lib
/
tests
/
modules
/
freeform-attrsOf.nix
4 lines
87 B
Nix
Raw
Normal View
History
Unescape
Escape
lib/tests: Add tests for freeform modules
2020-03-22 20:55:54 +01:00
{
lib
,
.
.
.
}:
{
lib/modules: Add syntactic sugar for config._module.freeformType This introduces `freeformType` as a top-level module attribute, allowing definitions like { freeformType = ...; options = ...; config = ...; }
2020-08-10 17:25:46 +02:00
freeformType
=
with
lib
.
types
;
attrsOf
(
either
str
(
attrsOf
str
)
)
;
lib/tests: Add tests for freeform modules
2020-03-22 20:55:54 +01:00
}
Reference in a new issue
Copy permalink