diff options
author | pennae <github@quasiparticle.net> | 2022-08-30 14:08:50 +0200 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-08-31 17:27:36 +0200 |
commit | f2ea09ecbe1fa1da32eaa6e036d64ac324a2986f (patch) | |
tree | 8635d6ef91a1d530e32d8eb0e360c42b1c755b6d /nixos/modules/hardware/tuxedo-keyboard.nix | |
parent | 722b99bc0eb57711c0498a86a3f55e6c69cdb05f (diff) |
nixos/*: convert options with listings
minor rendering changes.
Diffstat (limited to 'nixos/modules/hardware/tuxedo-keyboard.nix')
-rw-r--r-- | nixos/modules/hardware/tuxedo-keyboard.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nixos/modules/hardware/tuxedo-keyboard.nix b/nixos/modules/hardware/tuxedo-keyboard.nix index 7bcabde48900c..3ae876bd1f18b 100644 --- a/nixos/modules/hardware/tuxedo-keyboard.nix +++ b/nixos/modules/hardware/tuxedo-keyboard.nix @@ -8,23 +8,23 @@ let in { options.hardware.tuxedo-keyboard = { - enable = mkEnableOption '' + enable = mkEnableOption (lib.mdDoc '' Enables the tuxedo-keyboard driver. - To configure the driver, pass the options to the <option>boot.kernelParams</option> configuration. + To configure the driver, pass the options to the {option}`boot.kernelParams` configuration. There are several parameters you can change. It's best to check at the source code description which options are supported. - You can find all the supported parameters at: <link xlink:href="https://github.com/tuxedocomputers/tuxedo-keyboard#kernelparam"/> + You can find all the supported parameters at: <https://github.com/tuxedocomputers/tuxedo-keyboard#kernelparam> - In order to use the <literal>custom</literal> lighting with the maximumg brightness and a color of <literal>0xff0a0a</literal> one would put pass <option>boot.kernelParams</option> like this: + In order to use the `custom` lighting with the maximumg brightness and a color of `0xff0a0a` one would put pass {option}`boot.kernelParams` like this: - <programlisting> + ``` boot.kernelParams = [ "tuxedo_keyboard.mode=0" "tuxedo_keyboard.brightness=255" "tuxedo_keyboard.color_left=0xff0a0a" ]; - </programlisting> - ''; + ``` + ''); }; config = mkIf cfg.enable |