nixpkgs/nixos/modules/services
aszlig 44c64fef16
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
2017-06-22 03:24:28 +02:00
..
admin/salt salt-minion: link to configuration documentation 2017-05-11 07:12:04 +01:00
amqp
audio Remove static uid/gid 2017-03-18 13:54:39 +01:00
backup znapzend service: options for logging/nodestroy/restart on failure 2017-05-22 21:47:51 +01:00
cluster Kubernetes ABAC policy file fix (#26499) 2017-06-13 21:54:36 +02:00
computing nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
continuous-integration hydra-evaluator: depend on jq 2017-06-21 15:35:07 +02:00
databases Cleanup PostgreSQL for state version 17.09 (#25753) 2017-05-30 21:05:39 +01:00
desktops gnome-disks: add D-Bus service 2017-05-06 19:40:37 +02:00
development
editors Merge pull request #22508 from matthewbauer/remove-emacs24macport 2017-03-18 22:19:20 +01:00
games factorio: remove autosave-interval from command-line options 2017-01-25 21:39:37 +01:00
hardware Merge pull request #21227 from lheckemann/vgaswitcheroo 2017-04-28 12:47:00 +01:00
logging ELK: update kibana and the elastic beats to 5.4 (#26252) 2017-06-13 22:36:08 +02:00
mail spamassassin: major service fixes -> added more perl packages to spamassassin and abstracted service to not use /etc/spamassassin, also running sa-update as spamd user periodically (#26470) 2017-06-10 09:35:35 +02:00
misc errbot module: needs network-online to connect properly 2017-06-12 17:44:42 +02:00
monitoring Revert "dd-agent: 5.11.2 -> 5.13.2 + service rework" 2017-06-03 12:27:56 +01:00
network-filesystems Merge pull request #25709 from nh2/25620-glusterfs-fix-python-import-errors 2017-06-01 22:06:21 +02:00
networking Merge pull request #26697 from kirelagin/nsd-stderr 2017-06-18 16:53:36 +01:00
printing cups: split the $lib output 2017-03-12 18:36:30 +01:00
scheduling fcron: install systab 2017-04-23 11:44:04 +02:00
search ELK: update kibana and the elastic beats to 5.4 (#26252) 2017-06-13 22:36:08 +02:00
security Simple proof of concept for how to do other types of services 2017-05-26 18:14:31 -04:00
system Merge pull request #23024 from phile314/cloud-init-update 2017-05-22 16:33:31 +02:00
torrent treewide: use boolToString function 2017-04-11 18:18:53 +02:00
ttys kmscon service: disable systemd-vconsole-setup 2017-03-01 13:47:34 +03:00
web-apps mattermost service: PrivateTmp broken with local postgresql 2017-05-08 09:18:32 +02:00
web-servers apache-httpd: fix mod_perl by refering to apacheHttpdPackages (#26579) 2017-06-15 13:07:14 +02:00
x11 nixos/xserver: Improve checking keyboard layout 2017-06-22 03:24:28 +02:00