nixpkgs/nixos/modules/services/x11
Maximilian Bosch 18d461533b
zsh: patch _setxkbmap completion script
Instead of searching `/usr` it should search for the `xkb`,
$XDG_DATA_DIRS will be searched. With this approach we allow compliance
on NixOS and non-NixOS systems to find `symbols` in the `xkb` directory.

The patch has been accepted by upstream, but isn't released yet, so this
is mainly a temporary fix until we can bump ZSH to the next stable version.

The `xserver` module links `/share/X11/xkb` to `/run/current-system` to
make this possible.

The fix can be tested inside the following VM:

```
{
  zshtest = {
    programs.zsh.enable = true;
    users.extraUsers.vm = {
      password = "vm";
      isNormalUser = true;
    };
    services.xserver.enable = true;
  };
}
```

Fixes #46025
2018-09-20 12:54:34 +02:00
..
desktop-managers Merge pull request #30890 from Lassulus/slim-lightdm 2018-09-01 16:11:38 +02:00
display-managers nixos/displayManagers/auto: allow root auto-login 2018-09-02 08:18:10 +02:00
hardware
window-managers nixos/metacity: switch to gnome3.metacity 2018-08-09 17:36:47 +02:00
colord.nix
compton.nix
fractalart.nix
redshift.nix redshift: install desktop files, and use absolute paths in them to avoid confusing geoclue agent 2018-08-14 15:53:39 +01:00
terminal-server.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
unclutter-xfixes.nix
unclutter.nix
urxvtd.nix
xautolock.nix
xbanish.nix
xfs.conf
xfs.nix
xserver.nix zsh: patch _setxkbmap completion script 2018-09-20 12:54:34 +02:00