mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
Fix example for xkbOptions
###### Motivation for this change With space between two options, multiple options just don't work Looks like xkbOptions then used for generation of xorg.conf.d/00-keyboard.conf. kbd's man says XkbOptions must be comma-separated without spaces. https://linux.die.net/man/4/kbd ###### Things done <!-- Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers. --> - [ ] Tested using sandboxing ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS, or option `sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file) on non-NixOS linux) - Built on platform(s) - [ ] NixOS - [ ] macOS - [ ] other Linux distributions - [ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests)) - [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nixpkgs-review --run "nixpkgs-review wip"` - [ ] Tested execution of all binary files (usually in `./result/bin/`) - [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after) - [ ] Ensured that relevant documentation is up to date - [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md). ###### Notify maintainers cc @
This commit is contained in:
parent
68a54726f2
commit
73b38ff7c5
|
@ -333,7 +333,7 @@ in
|
|||
xkbOptions = mkOption {
|
||||
type = types.str;
|
||||
default = "terminate:ctrl_alt_bksp";
|
||||
example = "grp:caps_toggle, grp_led:scroll";
|
||||
example = "grp:caps_toggle,grp_led:scroll";
|
||||
description = ''
|
||||
X keyboard options; layout switching goes here.
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue