summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-12 01:27:16 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-12 01:27:16 +0100
commit6f5515aac3b6c5782d7e8a2e07da4c635dc405f5 (patch)
treec8cfb4a9184d66b79a38f1f804095e4d8a82f20a
parentUpdate code to use new ssh module. (diff)
downloadprofiles-6f5515aac3b6c5782d7e8a2e07da4c635dc405f5.tar.gz
profiles-6f5515aac3b6c5782d7e8a2e07da4c635dc405f5.tar.xz
Raise X11 max clients.
-rw-r--r--manifests/workstation.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/workstation.pp b/manifests/workstation.pp
index cfc413e..167faef 100644
--- a/manifests/workstation.pp
+++ b/manifests/workstation.pp
@@ -37,6 +37,21 @@ class profiles::workstation (
$xkb_variant = 'dvorak_a6'
$xkb_options = 'compose:caps'
+ file { '/etc/X11/xorg.conf.d':
+ ensure => directory,
+ recurse => false,
+ }
+
+ file { 'X11 Raise max clients':
+ ensure => file,
+ path => '/etc/X11/xorg.conf.d/99-maxclients.conf',
+ content => @(EOF)
+ Section "ServerFlags"
+ Option "MaxClients" "2048"
+ EndSection
+ | EOF
+ }
+
file { 'Default X11 keymap':
ensure => file,
path => '/etc/X11/xorg.conf.d/00-keyboard.conf',