From 6f5515aac3b6c5782d7e8a2e07da4c635dc405f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 12 Jan 2022 01:27:16 +0100 Subject: Raise X11 max clients. --- manifests/workstation.pp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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', -- cgit v1.2.3