qusal/salt/media/install.sls

63 lines
1.4 KiB
Plaintext
Raw Normal View History

2023-11-13 09:33:28 -05:00
{#
SPDX-FileCopyrightText: 2022 - 2023 unman <unman@thirdeyesecurity.org>
2024-01-29 10:49:54 -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
- browser.install
- sys-audio.install-client
2023-11-13 09:33:28 -05:00
"{{ slsdotpath }}-installed":
pkg.installed:
- require:
- sls: utils.tools.common.update
2023-11-13 09:33:28 -05:00
- install_recommends: False
- skip_suggestions: True
- setopt: "install_weak_deps=False"
2023-11-13 09:33:28 -05:00
- pkgs:
- qubes-pdf-converter
- qubes-img-converter
2023-11-13 09:33:28 -05:00
- qubes-app-shutdown-idle
- audacious
- calibre
- ffmpeg
- ffmpegthumbnailer
- gpicview
- mousepad
- mpv
2024-07-19 09:14:40 -04:00
- yt-dlp
2023-11-13 09:33:28 -05:00
- vlc
- xpdf
- man-db
2023-11-13 09:33:28 -05:00
"{{ slsdotpath }}-etc-mimeapps.list":
file.managed:
- name: /etc/xdg/mimeapps.list
- source: salt://{{ slsdotpath }}/files/browser/mimeapps.list
- mode: '0644'
- user: root
- group: root
- makedirs: True
"{{ slsdotpath }}-etc-mpv.conf":
file.managed:
- name: /etc/mpv/mpv.conf
- source: salt://{{ slsdotpath }}/files/browser/mpv.conf
- mode: '0644'
- user: root
- group: root
- makedirs: True
2023-11-13 09:33:28 -05:00
"{{ slsdotpath }}-idle-trimleness":
file.replace:
- name: /usr/lib/python3/dist-packages/qubesidle/idleness_monitor.py
- pattern: '15 \* 60'
- repl: '3 * 60'
{% endif -%}