ibus: add engine list to module description
This commit is contained in:
parent
2383a708f6
commit
639c6b91a9
|
@ -28,10 +28,14 @@ in
|
||||||
type = with types; listOf ibusEngine;
|
type = with types; listOf ibusEngine;
|
||||||
default = [];
|
default = [];
|
||||||
example = literalExample "with pkgs.ibus-engines; [ mozc hangul ]";
|
example = literalExample "with pkgs.ibus-engines; [ mozc hangul ]";
|
||||||
description = ''
|
description =
|
||||||
Enabled IBus engines.
|
let
|
||||||
Available engines can be found by running `nix-env "<nixpkgs>" . -qaP -A ibus-engines`.
|
engines =
|
||||||
'';
|
lib.concatStringsSep ", "
|
||||||
|
(map (name: "<literal>${name}</literal>")
|
||||||
|
(lib.attrNames pkgs.ibus-engines));
|
||||||
|
in
|
||||||
|
"Enabled IBus engines. Available engines are: ${engines}.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue