diff options
author | Daniel Nagy <danielnagy@posteo.de> | 2023-03-28 20:00:00 +0200 |
---|---|---|
committer | Daniel Nagy <danielnagy@posteo.de> | 2023-03-28 20:00:00 +0200 |
commit | e1a383102f9d4e6e9ae334eb68e94b61c4770278 (patch) | |
tree | a117ee1420b318d0b7bacd655658180db4c91d09 /nixos | |
parent | 49079a134fd3d3ac25d5ae1f5516f37770f19138 (diff) |
nixos/x11: set XKB_CONFIG_ROOT from config
The motivation is to make overriding `services.xserver.xkbDir` easier.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/x11/extra-layouts.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/extra-layouts.nix b/nixos/modules/services/x11/extra-layouts.nix index 9c88d12ca6f29..1f48713a68ddd 100644 --- a/nixos/modules/services/x11/extra-layouts.nix +++ b/nixos/modules/services/x11/extra-layouts.nix @@ -121,7 +121,7 @@ in environment.sessionVariables = { # runtime override supported by multiple libraries e. g. libxkbcommon # https://xkbcommon.org/doc/current/group__include-path.html - XKB_CONFIG_ROOT = "${xkb_patched}/etc/X11/xkb"; + XKB_CONFIG_ROOT = config.services.xserver.xkbDir; }; services.xserver = { |