qusal/salt/dom0/xorg.sls

28 lines
627 B
Plaintext
Raw Normal View History

2023-11-13 09:33:28 -05:00
{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
2023-11-13 09:33:28 -05:00
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] == 'dom0' -%}
include:
- utils.tools.common.update
2023-11-13 09:33:28 -05:00
"{{ slsdotpath }}-xorg-allow-custom-xsession-login":
pkg.installed:
- require:
- sls: utils.tools.common.update
2023-11-13 09:33:28 -05:00
- 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 -%}