summary refs log tree commit diff
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorTom <tom@tom-fitzhenry.me.uk>2021-07-23 01:01:54 +0000
committerTom Fitzhenry <tom@tom-fitzhenry.me.uk>2021-07-23 11:10:30 +1000
commit5409235160215cdf99032957f7f7c80cb31e80e3 (patch)
tree9f37ba0c01198881472cf94cc5a136940653daa7 /nixos/modules/hardware
parent16105403bdd843540cbef9c63fc0f16c1c6eaa70 (diff)
downloadnixpkgs-5409235160215cdf99032957f7f7c80cb31e80e3.tar
nixpkgs-5409235160215cdf99032957f7f7c80cb31e80e3.tar.gz
nixpkgs-5409235160215cdf99032957f7f7c80cb31e80e3.tar.bz2
nixpkgs-5409235160215cdf99032957f7f7c80cb31e80e3.tar.lz
nixpkgs-5409235160215cdf99032957f7f7c80cb31e80e3.tar.xz
nixpkgs-5409235160215cdf99032957f7f7c80cb31e80e3.tar.zst
nixpkgs-5409235160215cdf99032957f7f7c80cb31e80e3.zip
nixos/iio: mention iio-sensor-proxy in option description
In https://github.com/NixOS/nixpkgs/pull/131094 I mistakenly created a new NixOS module for iio-sensor-proxy because I did not know about `hardware.sensor.iio`.

To help people find `hardware.sensor.iio`, include the string "iio-sensor-proxy" in the description.

To search for an iio-sensor-proxy module, I tried in vain:
* `find -iname '*iio-sensor-proxy*'`
* https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&query=iio-sensor-proxy
    * This PR will ensure this search query finds `hardware.sensor.iio`
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/sensor/iio.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/sensor/iio.nix b/nixos/modules/hardware/sensor/iio.nix
index 4c359c3b172..8b3ba87a7d9 100644
--- a/nixos/modules/hardware/sensor/iio.nix
+++ b/nixos/modules/hardware/sensor/iio.nix
@@ -9,7 +9,7 @@ with lib;
     hardware.sensor.iio = {
       enable = mkOption {
         description = ''
-          Enable this option to support IIO sensors.
+          Enable this option to support IIO sensors with iio-sensor-proxy.
 
           IIO sensors are used for orientation and ambient light
           sensors on some mobile devices.