summary refs log tree commit diff
path: root/nixos/modules/services/x11/xserver.nix
diff options
context:
space:
mode:
authorIllia Denysenko <42647349+juliancoffee@users.noreply.github.com>2020-01-04 20:54:19 +0200
committerGitHub <noreply@github.com>2020-01-04 20:54:19 +0200
commit73b38ff7c50e6cc357774b1caf20d87ecd78f7aa (patch)
treeacabafcd5e5b0a1e1c7a6e70f5f7b4d9f8a71e8f /nixos/modules/services/x11/xserver.nix
parent68a54726f253cb68a074c3eeb29b56bc5fdbec5a (diff)
downloadnixpkgs-73b38ff7c50e6cc357774b1caf20d87ecd78f7aa.tar
nixpkgs-73b38ff7c50e6cc357774b1caf20d87ecd78f7aa.tar.gz
nixpkgs-73b38ff7c50e6cc357774b1caf20d87ecd78f7aa.tar.bz2
nixpkgs-73b38ff7c50e6cc357774b1caf20d87ecd78f7aa.tar.lz
nixpkgs-73b38ff7c50e6cc357774b1caf20d87ecd78f7aa.tar.xz
nixpkgs-73b38ff7c50e6cc357774b1caf20d87ecd78f7aa.tar.zst
nixpkgs-73b38ff7c50e6cc357774b1caf20d87ecd78f7aa.zip
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 @
Diffstat (limited to 'nixos/modules/services/x11/xserver.nix')
-rw-r--r--nixos/modules/services/x11/xserver.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index 1f6ee7cfffd..730a7431321 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -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.
         '';