fix(desktop): Enable exporting of X-server configuration

This enables commands like `localectl list-keymaps` etc. to work
correctly.
This commit is contained in:
Vincent Ambo 2018-05-05 12:22:26 +02:00
parent 7c673cd0d0
commit a6de90aec7

View file

@ -12,6 +12,7 @@ in {
enable = true;
layout = "us,no,ru";
xkbOptions = "caps:super, grp:shifts_toggle, parens:swap_brackets";
exportConfiguration = true;
# Give EXWM permission to control the session.
displayManager.sessionCommands = "${pkgs.xorg.xhost}/bin/xhost +SI:localuser:$USER";