2023-11-13 09:33:28 -05:00
|
|
|
{#
|
2024-03-18 11:29:01 -04: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' -%}
|
|
|
|
|
2024-03-18 11:29:01 -04:00
|
|
|
include:
|
|
|
|
- utils.tools.common.update
|
2023-11-13 09:33:28 -05:00
|
|
|
|
2023-12-19 07:02:04 -05:00
|
|
|
"{{ slsdotpath }}-kde-installed":
|
2023-11-13 09:33:28 -05:00
|
|
|
pkg.installed:
|
2024-03-18 11:29:01 -04:00
|
|
|
- require:
|
|
|
|
- sls: utils.tools.common.update
|
2023-11-13 09:33:28 -05:00
|
|
|
- pkgs:
|
|
|
|
- kde-settings-qubes
|
|
|
|
- sddm
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-configure-xinit":
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/X11/xinit/xinitrc.d/55xfce-qubes.sh
|
|
|
|
- source: salt://{{ slsdotpath }}/files/xinitrc.d/55xfce-qubes.sh
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: '0755'
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-configure-sddm":
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/sddm.conf.d/qubes.conf
|
|
|
|
- source: salt://{{ slsdotpath }}/files/sddm.conf.d/qubes.conf
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: '0644'
|
|
|
|
- makedirs: True
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-disable-lightdm":
|
|
|
|
cmd.run:
|
|
|
|
- name: systemctl disable lightdm
|
|
|
|
- runas: root
|
2023-12-19 07:02:04 -05:00
|
|
|
- require:
|
|
|
|
- pkg: {{ slsdotpath }}-kde-installed
|
2023-11-13 09:33:28 -05:00
|
|
|
|
|
|
|
"{{ slsdotpath }}-enable-sddm":
|
|
|
|
cmd.run:
|
|
|
|
- name: systemctl enable sddm
|
|
|
|
- runas: root
|
|
|
|
- require:
|
2023-12-19 07:02:04 -05:00
|
|
|
- cmd: {{ slsdotpath }}-disable-lightdm
|
2023-11-13 09:33:28 -05:00
|
|
|
|
|
|
|
"{{ slsdotpath }}-activity-notifier":
|
|
|
|
file.managed:
|
|
|
|
- name: /home/user/.config/autostart-scripts/kde-activity-changed-notifier
|
|
|
|
- source: salt://{{ slsdotpath }}/files/autostart-scripts/kde-activity-changed-notifier
|
|
|
|
- user: user
|
|
|
|
- group: user
|
|
|
|
- mode: '0755'
|
|
|
|
- makedirs: True
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-qubes-kde-win-rules":
|
|
|
|
file.managed:
|
|
|
|
- name: /home/user/.local/bin/qubes-kde-win-rules
|
|
|
|
- source: salt://{{ slsdotpath }}/files/bin/qubes-kde-win-rules
|
|
|
|
- user: user
|
|
|
|
- group: user
|
|
|
|
- mode: '0755'
|
|
|
|
- makedirs: True
|
|
|
|
|
|
|
|
{% endif -%}
|