qusal/salt/dom0/dotfiles.sls

24 lines
585 B
Plaintext
Raw Permalink Normal View History

2023-11-13 09:33:28 -05:00
{#
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] == 'dom0' -%}
{%- import slsdotpath ~ "/gui-user.jinja" as gui_user -%}
2023-11-13 09:33:28 -05:00
include:
- dotfiles.copy-all
"{{ slsdotpath }}-xprofile-sourcer":
file.managed:
- name: {{ gui_user.gui_user_home }}/.config/autostart/xprofile.desktop
2023-11-13 09:33:28 -05:00
- source: salt://{{ slsdotpath }}/files/autostart/xprofile.desktop
- user: {{ gui_user.gui_user }}
- group: {{ gui_user.gui_user }}
2023-11-13 09:33:28 -05:00
- mode: '0644'
- makedirs: True
{% endif -%}