From 9afa3bbda56415470e074a771785052311a70351 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 16 Jun 2020 18:30:08 +0100 Subject: [PATCH] Add Debian keyboard config --- roles/debian/files/keyboard | 9 +++++++++ roles/debian/tasks/keyboard.yml | 6 ++++++ roles/debian/tasks/main.yml | 1 + 3 files changed, 16 insertions(+) create mode 100644 roles/debian/files/keyboard create mode 100644 roles/debian/tasks/keyboard.yml diff --git a/roles/debian/files/keyboard b/roles/debian/files/keyboard new file mode 100644 index 0000000..6ab34f9 --- /dev/null +++ b/roles/debian/files/keyboard @@ -0,0 +1,9 @@ +# KEYBOARD CONFIGURATION FILE + +# Consult the keyboard(5) manual page. + +XKBMODEL="pc105" +XKBLAYOUT="us,us" +XKBVARIANT="typo,intl" +XKBOPTIONS="lv3:ralt_switch,compose:menu,grp:win_space_toggle" +BACKSPACE="guess" diff --git a/roles/debian/tasks/keyboard.yml b/roles/debian/tasks/keyboard.yml new file mode 100644 index 0000000..28d80d7 --- /dev/null +++ b/roles/debian/tasks/keyboard.yml @@ -0,0 +1,6 @@ +--- +- name: set keyboard layout + become: true + copy: + src: keyboard + dest: /etc/default/keyboard diff --git a/roles/debian/tasks/main.yml b/roles/debian/tasks/main.yml index e18e082..7a69d1e 100644 --- a/roles/debian/tasks/main.yml +++ b/roles/debian/tasks/main.yml @@ -3,6 +3,7 @@ - include: packages-gui.yml when: gui == true - include: build-env.yml +- include: keyboard.yml - include: modules.yml - include: ssh.yml - include: solokeys.yml