Mutt - mail template

This commit is contained in:
unman 2022-07-15 15:19:10 +00:00
parent 449db5cce2
commit b2d5fae292
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
4 changed files with 54 additions and 0 deletions

9
mutt/clone.sls Normal file
View File

@ -0,0 +1,9 @@
include:
- template-debian-11-minimal
qvm-clone-id:
qvm.clone:
- require:
- sls: template-debian-11-minimal
- name: template-mail
- source: debian-11-minimal

4
mutt/clone.top Normal file
View File

@ -0,0 +1,4 @@
base:
dom0:
- match: nodegroup
- mail.clone

36
mutt/install.sls Normal file
View File

@ -0,0 +1,36 @@
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
#
{% 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 %}
{% if grains['nodename'] != 'dom0' %}
update:
pkg.uptodate:
- refresh: True
installed:
pkg.installed:
- pkgs:
- qubes-core-agent-networking
- mb2md
- mutt
- notmuch
- notmuch-mutt
- openssh-client
- qubes-app-shutdown-idle
- rsync
- w3m
- skip_suggestions: True
{% endif %}

5
mutt/install.top Normal file
View File

@ -0,0 +1,5 @@
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
base:
template-mail:
- mail.install