module docs: print examples
This commit is contained in:
parent
bd8d00fe13
commit
dc4b7ebffd
3 changed files with 39 additions and 34 deletions
|
@ -1,6 +1,7 @@
|
|||
## Kernel-related options
|
||||
## ======================
|
||||
|
||||
##
|
||||
##
|
||||
|
||||
{ lib, pkgs, config, ...}:
|
||||
let
|
||||
|
@ -32,6 +33,13 @@ in {
|
|||
but sometimes other strings are also used.
|
||||
'';
|
||||
type = types.attrsOf types.nonEmptyStr;
|
||||
example = lib.literalExpression ''
|
||||
{
|
||||
BRIDGE = "y";
|
||||
TMPFS = "y";
|
||||
FW_LOADER_USER_HELPER = "n";
|
||||
};
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue