raspberrypi-bootloader: Adds firmwareConfig
config option
The `firmwareConfig` option will be appended to `/boot/config.txt`.
This commit is contained in:
parent
8bc970bbc7
commit
6ed495cf13
1 changed files with 10 additions and 1 deletions
|
@ -45,7 +45,7 @@ let
|
|||
arm_control=0x200
|
||||
'' + optional cfg.uboot.enable ''
|
||||
kernel=u-boot-rpi.bin
|
||||
'');
|
||||
'' + optional (cfg.firmwareConfig != null) cfg.firmwareConfig);
|
||||
|
||||
in
|
||||
|
||||
|
@ -89,6 +89,15 @@ in
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
firmwareConfig = mkOption {
|
||||
default = null;
|
||||
type = types.nullOr types.string;
|
||||
description = ''
|
||||
Extra options that will be appended to <literal>/boot/config.txt</literal> file.
|
||||
For possible values, see: https://www.raspberrypi.org/documentation/configuration/config-txt/
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue