I would like to toggle between de
and us
keyboard layout. Following the article in the Arch Wiki, i defined the following in configuration.nix
:
services.xserver = {
enable = true;
layout = "de,us";
xkbVariant = "nodeadkeys,";
xkbOptions = "caps:backspace,grp:win_space_toggle";
...
but when i press win + space
nothing happens. I also defined grp:ctrl_space_toggle
but this isn’t working either.
What am i doing wrong?