summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-02-09 23:35:23 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-09 23:35:23 +0100
commitcc46a2b406f77f24005aeb99bb204bd69f1f0e69 (patch)
tree315850451b511e8efb041b9151b7ae3f1e90353d
parentAdd profile arch_ports. (diff)
downloadprofiles-cc46a2b406f77f24005aeb99bb204bd69f1f0e69.tar.gz
profiles-cc46a2b406f77f24005aeb99bb204bd69f1f0e69.tar.xz
profile workstation allow override xkb keyboard.
-rw-r--r--manifests/workstation.pp7
1 files changed, 3 insertions, 4 deletions
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,