about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2019-09-09 10:19:58 +0200
committerGitHub <noreply@github.com>2019-09-09 10:19:58 +0200
commitc8c04bc96ce799f0ef10239e521f52c749c1a70a (patch)
tree943de23197a34166a63c097a45121a79fb32b521 /nixos/modules
parent0107ee8c322e57cdb2ebcc1c9c4286ff7db53d5c (diff)
parente2fca8b1db9b861c7d877aac2631f734030b1f61 (diff)
downloadnixlib-c8c04bc96ce799f0ef10239e521f52c749c1a70a.tar
nixlib-c8c04bc96ce799f0ef10239e521f52c749c1a70a.tar.gz
nixlib-c8c04bc96ce799f0ef10239e521f52c749c1a70a.tar.bz2
nixlib-c8c04bc96ce799f0ef10239e521f52c749c1a70a.tar.lz
nixlib-c8c04bc96ce799f0ef10239e521f52c749c1a70a.tar.xz
nixlib-c8c04bc96ce799f0ef10239e521f52c749c1a70a.tar.zst
nixlib-c8c04bc96ce799f0ef10239e521f52c749c1a70a.zip
Merge pull request #68310 from rnhmjoj/xkb
services.xserver.extraLayouts fixes
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/x11/extra-layouts.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/extra-layouts.nix b/nixos/modules/services/x11/extra-layouts.nix
index 5523dd2bf023..1af98a1318bb 100644
--- a/nixos/modules/services/x11/extra-layouts.nix
+++ b/nixos/modules/services/x11/extra-layouts.nix
@@ -158,7 +158,10 @@ in
 
     });
 
-    services.xserver.xkbDir = "${pkgs.xkb_patched}/etc/X11/xkb";
+    services.xserver = {
+      xkbDir = "${pkgs.xkb_patched}/etc/X11/xkb";
+      exportConfiguration = config.services.xserver.displayManager.startx.enable;
+    };
 
   };