shaker/mutt/install.sls

72 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-07-15 11:19:10 -04:00
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
#
2022-07-17 12:06:18 -04:00
{% if grains['nodename'] != 'dom0' %}
2022-07-15 11:19:10 -04:00
{% if salt['qvm.exists']('cacher') %}
/etc/apt/sources.list:
file.replace:
- names:
- /etc/apt/sources.list
- /etc/apt/sources.list.d/qubes-r4.list
- pattern: 'https://'
- repl: 'http://HTTPS///'
- flags: [ 'IGNORECASE', 'MULTILINE' ]
{% endif %}
update:
pkg.uptodate:
- refresh: True
installed:
pkg.installed:
- pkgs:
- qubes-core-agent-networking
2022-07-17 12:06:18 -04:00
- qubes-app-shutdown-idle
- qubes-gpg-split
2022-07-15 11:19:10 -04:00
- mb2md
- mutt
- notmuch
- notmuch-mutt
2022-07-18 09:52:20 -04:00
- offlineimap3
2022-07-15 11:19:10 -04:00
- openssh-client
- rsync
- w3m
2022-07-18 09:52:20 -04:00
- zenity
2022-07-15 11:19:10 -04:00
- skip_suggestions: True
2022-07-17 12:06:18 -04:00
- install_recommends: False
2022-07-15 11:19:10 -04:00
2022-07-16 10:13:52 -04:00
change_timeout:
file.replace:
- name: /usr/lib/python3/dist-packages/qubesidle/idleness_monitor.py
- pattern: '15 * 60'
- repl: '3 * 60'
- flags: [ 'IGNORECASE', 'MULTILINE' ]
default_muttrc:
file.managed:
- name: /etc/skel/.muttrc
- source: salt://mutt/muttrc
- user: user
- group: user
2022-07-18 09:52:20 -04:00
helper_script:
file.managed:
- name: /etc/skel/setup_mutt.sh
- source: salt://mutt/setup_mutt.sh
- user: user
- group: user
- mode: 744
2022-07-18 10:14:53 -04:00
helper_script_menu:
file.managed:
- name: /usr/share/applications/mutt_setup.desktop
- source: salt://mutt/mutt_setup.desktop
- user: user
- group: user
- mode: 755
2022-07-15 11:19:10 -04:00
{% endif %}