nixpkgs/nixos/modules
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
..
config Added an example for environment.variable. (#45956) 2018-09-02 21:21:14 +02:00
hardware [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
i18n/input-method nixos docs: more IDs 2018-09-02 15:47:59 -04:00
installer nix: 2.0.4 -> 2.1 2018-09-03 01:37:55 +02:00
misc release-notes: Adds 19.03 — Koi 2018-09-02 17:47:24 -04:00
profiles usb-storage -> uas 2018-08-23 01:42:34 +00:00
programs Merge pull request #46058 from symphorien/dconf-dbus 2018-09-05 14:51:06 +01:00
security nixos docs: give IDs to things 2018-09-01 16:20:49 -04:00
services zsh: patch _setxkbmap completion script 2018-09-20 12:54:34 +02:00
system Merge pull request #44526 from samueldr/feature/actiavation-failure-identification 2018-09-02 14:28:10 -04:00
tasks Merge pull request #44347 from zhangyoufu/patch-28620 2018-09-01 21:28:31 -04:00
testing nixos/tests: Set DefaultTimeoutStartSec very high (#44916) 2018-08-29 12:12:12 +02:00
virtualisation reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
module-list.nix nixos/zeronet: init (#44842) 2018-08-31 11:40:23 +01:00
rename.nix virtualization.growPartition -> virtualisation.growPartition 2018-08-28 14:24:39 +02:00