1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
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 nixos/libinput: add button to scrollMethod 2018-06-28 12:15:00 +01:00
window-managers nixos/metacity: switch to gnome3.metacity 2018-08-09 17:36:47 +02:00
colord.nix colord service: init 2016-03-11 01:58:40 +03:00
compton.nix compton: adding missing xr_glx_hybrid backend 2017-11-28 14:02:48 +01:00
fractalart.nix fractalart service: init, Generate wallpapers (#23231) 2017-11-13 19:56:08 +01:00
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 nixos/xsession: use graphical systemd user target 2017-05-29 15:05:28 +02:00
unclutter.nix nixos/xsession: use graphical systemd user target 2017-05-29 15:05:28 +02:00
urxvtd.nix nixos/xsession: use graphical systemd user target 2017-05-29 15:05:28 +02:00
xautolock.nix nixos/xautolock: fix default defaults/examples, add assertions 2018-01-31 21:43:23 +01:00
xbanish.nix nixos/xsession: use graphical systemd user target 2017-05-29 15:05:28 +02:00
xfs.conf Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
xfs.nix jobs -> systemd.services 2016-01-07 06:39:06 +00:00
xserver.nix zsh: patch _setxkbmap completion script 2018-09-20 12:54:34 +02:00