module docs: print examples

This commit is contained in:
Daniel Barlow 2023-08-11 21:12:57 +01:00
parent bd8d00fe13
commit dc4b7ebffd
3 changed files with 39 additions and 34 deletions

View file

@ -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";
};
'';
};
};
};