trusted
69
edits
(add nixos snippet) |
|||
Line 28: | Line 28: | ||
* If you want to specify a different layout, dvorak, bepo, etc, change the variant flag to <syntaxhighlight lang=console inline>dvorak,dyalog</syntaxhighlight>. | * If you want to specify a different layout, dvorak, bepo, etc, change the variant flag to <syntaxhighlight lang=console inline>dvorak,dyalog</syntaxhighlight>. | ||
=== NixOS === | |||
Adding these entries to <code>/etc/nixos/configuration.nix</code> will setup xkbmap to work correctly after the next time you build your configuration (usually with <code>nixos-rebuild switch</code>). | |||
<syntaxhighlight lang=console inline> | |||
services.xserver = { | |||
layout = "cn,apl"; | |||
xkbVariant = ",dyalog"; | |||
xkbOptions = "grp:switch"; | |||
}; | |||
</syntaxhighlight> | |||
== libinput == | == libinput == |