From 5d0506f42bc3af7befa4f497e090faaa31dcacf6 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. --- modules/profiles/manifests/workstation.pp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/profiles/manifests/workstation.pp b/modules/profiles/manifests/workstation.pp index cfc413e..167faef 100644 --- a/modules/profiles/manifests/workstation.pp +++ b/modules/profiles/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