diff --git a/roles/distro/files/keyboard-gb.conf b/roles/distro/files/keyboard-gb.conf new file mode 100644 index 0000000..196e601 --- /dev/null +++ b/roles/distro/files/keyboard-gb.conf @@ -0,0 +1,5 @@ +Section "InputClass" + Identifier "keyboard-gb" + MatchIsKeyboard "on" + Option "XkbLayout" "gb" +EndSection diff --git a/roles/distro/tasks/freebsd.yml b/roles/distro/tasks/freebsd.yml index e7bf177..83f6f8b 100644 --- a/roles/distro/tasks/freebsd.yml +++ b/roles/distro/tasks/freebsd.yml @@ -49,3 +49,8 @@ path: /etc/ttys regexp: '^ttyv8 .*' line: 'ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure' +- name: Set xorg keyboard layout + become: true + copy: + src: keyboard-gb.conf + dest: /usr/local/etc/X11/xorg.conf.d/keyboard-gb.conf