mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 14:09:17 +03:00
nixos/kmonad: improve doc
This commit is contained in:
parent
ffea31ccbb
commit
cbf4f6a86d
1 changed files with 8 additions and 8 deletions
|
@ -35,16 +35,16 @@ let
|
||||||
Since KMonad runs as an unprivileged user, it may sometimes
|
Since KMonad runs as an unprivileged user, it may sometimes
|
||||||
need extra permissions in order to read the keyboard device
|
need extra permissions in order to read the keyboard device
|
||||||
file. If your keyboard's device file isn't in the input
|
file. If your keyboard's device file isn't in the input
|
||||||
group you'll need to list its group in this option.
|
group, you'll need to list its group in this option.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
defcfg = {
|
defcfg = {
|
||||||
enable = lib.mkEnableOption ''
|
enable = lib.mkEnableOption ''
|
||||||
Automatically generate the defcfg block.
|
automatic generation of the defcfg block.
|
||||||
|
|
||||||
When this is option is set to true the config option for
|
When this option is set to true, the config option for
|
||||||
this keyboard should not include a defcfg block.
|
this keyboard should not include a defcfg block
|
||||||
'';
|
'';
|
||||||
|
|
||||||
compose = {
|
compose = {
|
||||||
|
@ -61,9 +61,9 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fallthrough = lib.mkEnableOption "Re-emit unhandled key events.";
|
fallthrough = lib.mkEnableOption "re-emitting unhandled key events";
|
||||||
|
|
||||||
allowCommands = lib.mkEnableOption "Allow keys to run shell commands.";
|
allowCommands = lib.mkEnableOption "keys to run shell commands";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkOption {
|
config = lib.mkOption {
|
||||||
|
@ -159,9 +159,9 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.services.kmonad = {
|
options.services.kmonad = {
|
||||||
enable = lib.mkEnableOption "KMonad: An advanced keyboard manager.";
|
enable = lib.mkEnableOption "KMonad: an advanced keyboard manager";
|
||||||
|
|
||||||
package = lib.mkPackageOption pkgs "kmonad" { };
|
package = lib.mkPackageOption pkgs "KMonad" { default = "kmonad"; };
|
||||||
|
|
||||||
keyboards = lib.mkOption {
|
keyboards = lib.mkOption {
|
||||||
type = lib.types.attrsOf (lib.types.submodule keyboard);
|
type = lib.types.attrsOf (lib.types.submodule keyboard);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue