summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-sql
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-06-22 03:22:48 +0200
committeraszlig <aszlig@redmoonstudios.org>2017-06-22 03:24:28 +0200
commit44c64fef16ed566786c8db276085b484c9d233f3 (patch)
tree9dcb20a0442a32831d564996623b4f7e18474be6 /pkgs/development/python-modules/python-sql
parent7c0f6f4be53453e08a1d4a27cd40a46c4e920ce8 (diff)
nixos/xserver: Improve checking keyboard layout
Enumerating the symbols directory doesn't include variants, so we're now basically doing what "localectl list-x11-keymap-layouts" does but we use sed instead. The reason I'm not using localectl directly is because the path to rules/base.lst is hardcoded in the systemd source. Of course, the XKB specification allows for much more complicated rules, but at least this should cover the most basic ones including variants. So the sed expression itself is just for listing the available layouts and variants and we use a grep with -xF to match only full lines without interpreting regular expressions. This should again allow to set "dvorak" as the layout option. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @lheckemann Fixes: #25526
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions