qusal/salt/dom0/xorg.sls
2023-11-13 14:33:28 +00:00

27 lines
596 B
Plaintext

{#
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] == 'dom0' -%}
"{{ slsdotpath }}-xorg-updated":
pkg.uptodate:
- refresh: True
"{{ slsdotpath }}-xorg-allow-custom-xsession-login":
pkg.installed:
- pkgs:
- xorg-x11-xinit-session
"{{ slsdotpath }}-xorg-tap-to-touch":
file.managed:
- name: /etc/X11/xorg.conf.d/30-touchpad.conf
- source: salt://{{ slsdotpath }}/files/xorg.conf.d/30-touchpad.conf
- user: root
- group: root
- mode: '0644'
{% endif -%}