nixos/xserver: set $XKB_CONFIG_ROOT
This commit is contained in:
parent
b9d274b89d
commit
636dabcf80
1 changed files with 6 additions and 0 deletions
|
@ -158,6 +158,12 @@ in
|
|||
|
||||
});
|
||||
|
||||
environment.sessionVariables = {
|
||||
# runtime override supported by multiple libraries e. g. libxkbcommon
|
||||
# https://xkbcommon.org/doc/current/group__include-path.html
|
||||
XKB_CONFIG_ROOT = "${pkgs.xkb_patched}/etc/X11/xkb";
|
||||
};
|
||||
|
||||
services.xserver = {
|
||||
xkbDir = "${pkgs.xkb_patched}/etc/X11/xkb";
|
||||
exportConfiguration = config.services.xserver.displayManager.startx.enable;
|
||||
|
|
Loading…
Reference in a new issue