nixos/device-tree: fix package name in examples
deviceTree_rpi got renamed to device-tree_rpi a while back, so this updates the examples to reflect that.
This commit is contained in:
parent
99847a4e9d
commit
4ed7e23636
|
@ -19,7 +19,7 @@ in {
|
||||||
base = mkOption {
|
base = mkOption {
|
||||||
default = "${config.boot.kernelPackages.kernel}/dtbs";
|
default = "${config.boot.kernelPackages.kernel}/dtbs";
|
||||||
defaultText = "\${config.boot.kernelPackages.kernel}/dtbs";
|
defaultText = "\${config.boot.kernelPackages.kernel}/dtbs";
|
||||||
example = literalExample "pkgs.deviceTree_rpi";
|
example = literalExample "pkgs.device-tree_rpi";
|
||||||
type = types.path;
|
type = types.path;
|
||||||
description = ''
|
description = ''
|
||||||
The package containing the base device-tree (.dtb) to boot. Contains
|
The package containing the base device-tree (.dtb) to boot. Contains
|
||||||
|
@ -30,7 +30,7 @@ in {
|
||||||
overlays = mkOption {
|
overlays = mkOption {
|
||||||
default = [];
|
default = [];
|
||||||
example = literalExample
|
example = literalExample
|
||||||
"[\"\${pkgs.deviceTree_rpi.overlays}/w1-gpio.dtbo\"]";
|
"[\"\${pkgs.device-tree_rpi.overlays}/w1-gpio.dtbo\"]";
|
||||||
type = types.listOf types.path;
|
type = types.listOf types.path;
|
||||||
description = ''
|
description = ''
|
||||||
A path containing device tree overlays (.dtbo) to be applied to all
|
A path containing device tree overlays (.dtbo) to be applied to all
|
||||||
|
|
Loading…
Reference in New Issue