nixos/kanata: improve links to the upstream documentation

This commit is contained in:
Lin Jian 2024-05-07 00:51:40 +08:00
parent f7b50c3977
commit 4eafe1458d
No known key found for this signature in database
GPG Key ID: A6698D36434F75A5

View File

@ -5,6 +5,8 @@ with lib;
let
cfg = config.services.kanata;
upstreamDoc = "See [the upstream documentation](https://github.com/jtroo/kanata/blob/main/docs/config.adoc) and [example config files](https://github.com/jtroo/kanata/tree/main/cfg_samples) for more information.";
keyboard = {
options = {
devices = mkOption {
@ -42,8 +44,7 @@ let
description = ''
Configuration other than `defcfg`.
See [example config files](https://github.com/jtroo/kanata)
for more information.
${upstreamDoc}
'';
};
extraDefCfg = mkOption {
@ -55,8 +56,7 @@ let
from the devices option) and
`linux-continue-if-no-devs-found` (hardcoded to be yes).
See [example config files](https://github.com/jtroo/kanata)
for more information.
${upstreamDoc}
'';
};
extraArgs = mkOption {