mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-28 20:16:41 +03:00
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
|
arm_control=0x200
|
||||||
'' + optional cfg.uboot.enable ''
|
'' + optional cfg.uboot.enable ''
|
||||||
kernel=u-boot-rpi.bin
|
kernel=u-boot-rpi.bin
|
||||||
'');
|
'' + optional (cfg.firmwareConfig != null) cfg.firmwareConfig);
|
||||||
|
|
||||||
in
|
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…
Add table
Add a link
Reference in a new issue