mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-27 00:19:42 -05:00
29 lines
751 B
Plaintext
29 lines
751 B
Plaintext
|
{#
|
||
|
SPDX-FileCopyrightText: 2022 - 2023 unman <unman@thirdeyesecurity.org>
|
||
|
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 }}-home-config-mimeapps.list":
|
||
|
file.managed:
|
||
|
- name: /home/user/.config/mimeapps.list
|
||
|
- source: salt://{{ slsdotpath }}/files/client/mimeapps.list
|
||
|
- mode: '0644'
|
||
|
- user: user
|
||
|
- group: user
|
||
|
- makedirs: True
|
||
|
|
||
|
"{{ slsdotpath }}-home-local-share-mimeapps.list":
|
||
|
file.symlink:
|
||
|
- name: /home/user/.local/share/applications/mimeapps.list
|
||
|
- target: /home/user/.config/mimeapps.list
|
||
|
- user: user
|
||
|
- group: user
|
||
|
- force: True
|
||
|
- makedirs: True
|
||
|
|
||
|
{% endif -%}
|