raspberrypi/4: fix many option rendering

This commit is contained in:
Sandro Jäckel committed 2025-10-10 15:50:52 +02:00
1 parent 3441b5242a
commit eb9e8e10ac
14 files changed
+74 -75

No files matched your search

+14 -10
View File
@@ -6,13 +6,15 @@ in
{
options.hardware = {
raspberry-pi."4".tc358743 = {
enable = lib.mkEnableOption ''
Enable support for the Toshiba TC358743 HDMI-to-CSI-2 converter.
enable = lib.mkEnableOption "" // {
description = ''
Enable support for the Toshiba TC358743 HDMI-to-CSI-2 converter.
This can be tested with a plugged in converter device and for example
running ustreamer (which starts webservice providing a camera stream):
''${pkgs.ustreamer}/bin/ustreamer --persistent --dv-timings
'';
This can be tested with a plugged in converter device and for example
running ustreamer (which starts webservice providing a camera stream):
''${pkgs.ustreamer}/bin/ustreamer --persistent --dv-timings
'';
};
lanes = lib.mkOption {
type = lib.types.enum [
2
@@ -23,11 +25,13 @@ in
Number of CSI lanes available
'';
};
media-controller = lib.mkEnableOption ''
Enable support for the Media Controller API.
media-controller = lib.mkEnableOption "" // {
description = ''
Enable support for the Media Controller API.
See https://forums.raspberrypi.com/viewtopic.php?t=322076 for details
'';
See https://forums.raspberrypi.com/viewtopic.php?t=322076 for details
'';
};
};
};