From cc46a2b406f77f24005aeb99bb204bd69f1f0e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 9 Feb 2022 23:35:23 +0100 Subject: profile workstation allow override xkb keyboard. --- manifests/workstation.pp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'manifests') diff --git a/manifests/workstation.pp b/manifests/workstation.pp index d70fa57..cb11a67 100644 --- a/manifests/workstation.pp +++ b/manifests/workstation.pp @@ -1,4 +1,7 @@ class profiles::workstation ( + String $xkb_layout = 'planck', + String $xkb_variant = 'dvorak_a6', + String $xkb_options = 'compose:caps', ) { $os_name = $facts['os']['name'].downcase() if defined($os_name) { @@ -42,10 +45,6 @@ class profiles::workstation ( source => 'https://raw.githubusercontent.com/HugoNikanor/keymaps/master/X11/planck', } - $xkb_layout = 'planck' - $xkb_variant = 'dvorak_a6' - $xkb_options = 'compose:caps' - file { '/etc/X11/xorg.conf.d': ensure => directory, recurse => false, -- cgit v1.2.3