Always do the Apple fn fix, even if not on a macbook

Makes using an Apple keyboard on a non-macbook sane
This commit is contained in:
Jake Howard 2020-03-31 13:12:07 +01:00
parent 3f40f64599
commit d6e634b6a2
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 6 additions and 6 deletions

View file

@ -56,3 +56,9 @@
- name: Enable US locale - name: Enable US locale
locale_gen: locale_gen:
name: en_US.UTF-8 name: en_US.UTF-8
- name: Make the FN key work the correct way on Apple keyboards
lineinfile:
path: /etc/modprobe.d/hid_apple.conf
line: options hid_apple fnmode=2
create: true

View file

@ -15,12 +15,6 @@
enabled: true enabled: true
state: started state: started
- name: Make the FN key work the correct way
lineinfile:
path: /etc/modprobe.d/hid_apple.conf
line: options hid_apple fnmode=2
create: true
- name: Disable power key - name: Disable power key
lineinfile: lineinfile:
path: /etc/systemd/logind.conf path: /etc/systemd/logind.conf