diff --git a/mutt/clone.sls b/mutt/clone.sls new file mode 100644 index 0000000..cdeb248 --- /dev/null +++ b/mutt/clone.sls @@ -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 diff --git a/mutt/clone.top b/mutt/clone.top new file mode 100644 index 0000000..488dc5d --- /dev/null +++ b/mutt/clone.top @@ -0,0 +1,4 @@ +base: + dom0: + - match: nodegroup + - mail.clone diff --git a/mutt/install.sls b/mutt/install.sls new file mode 100644 index 0000000..02994cf --- /dev/null +++ b/mutt/install.sls @@ -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 %} diff --git a/mutt/install.top b/mutt/install.top new file mode 100644 index 0000000..6a4e637 --- /dev/null +++ b/mutt/install.top @@ -0,0 +1,5 @@ +# vim: set syntax=yaml ts=2 sw=2 sts=2 et : + +base: + template-mail: + - mail.install