From 183d8efdedf03ceeef996ae0e3da60e4a5b9559a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Sun, 16 Jan 2022 16:27:36 +0100 Subject: [PATCH] Add admins@pub.solar --- .../.config/sway/config.d/screens.conf | 9 ++++----- users/ben/.config/msmtp/config | 10 ++++++++++ .../ben/.config/mutt/admins@pub.solar.muttrc | 19 +++++++++++++++++++ .../.config/mutt/admins@pub.solar.signature | 9 +++++++++ users/ben/.config/offlineimap/config | 17 ++++++++++++++++- users/ben/home.nix | 3 +++ 6 files changed, 61 insertions(+), 6 deletions(-) create mode 100644 users/ben/.config/mutt/admins@pub.solar.muttrc create mode 100644 users/ben/.config/mutt/admins@pub.solar.signature diff --git a/hosts/biolimo/.config/sway/config.d/screens.conf b/hosts/biolimo/.config/sway/config.d/screens.conf index dac861b6..f95c13c2 100644 --- a/hosts/biolimo/.config/sway/config.d/screens.conf +++ b/hosts/biolimo/.config/sway/config.d/screens.conf @@ -4,18 +4,17 @@ set $standup "Hewlett Packard HP E231 3CQ4251F33" output $internal { scale 1 - pos 0 500 + pos 1080 1080 } output $middle { scale 1 - # 1969 is the 1.3 scaled width of the internal monitor - pos 1969 0 + pos 1080 0 } output $standup { scale 1 - transform 270 - pos 3889 0 + transform 90 + pos 0 0 } diff --git a/users/ben/.config/msmtp/config b/users/ben/.config/msmtp/config index 7df524e6..fa9f9d5f 100644 --- a/users/ben/.config/msmtp/config +++ b/users/ben/.config/msmtp/config @@ -38,5 +38,15 @@ account byb@miom.space tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt +account admins@pub.solar + host mail.greenbaum.cloud + port 587 + protocol smtp + auth on + from admins@pub.solar + user admins@pub.solar + tls on + tls_trust_file /etc/ssl/certs/ca-certificates.crt + account default : hello@benjaminbaedorf.eu diff --git a/users/ben/.config/mutt/admins@pub.solar.muttrc b/users/ben/.config/mutt/admins@pub.solar.muttrc new file mode 100644 index 00000000..9e993f7f --- /dev/null +++ b/users/ben/.config/mutt/admins@pub.solar.muttrc @@ -0,0 +1,19 @@ +# vim: filetype=muttrc + +set from = "pub.solar Admins " +set sendmail = "msmtp -a admins@pub.solar" +set signature = "~/.config/mutt/admins@pub.solar.signature" + +set mbox_type = Maildir +set folder = ~/Mail +set spoolfile = "+admins\@pub.solar/INBOX" +set postponed = "+admins\@pub.solar/Drafts" +set record = "+admins\@pub.solar/Sent" +set trash = "+admins\@pub.solar/Trash" +mbox-hook = "+admins\@pub.solar/Archive" +unmailboxes * +mailboxes +admins\@pub.solar/INBOX \ + +admins\@pub.solar/Drafts \ + +admins\@pub.solar/Sent \ + +admins\@pub.solar/Archive \ + +admins\@pub.solar/Trash diff --git a/users/ben/.config/mutt/admins@pub.solar.signature b/users/ben/.config/mutt/admins@pub.solar.signature new file mode 100644 index 00000000..d47e6631 --- /dev/null +++ b/users/ben/.config/mutt/admins@pub.solar.signature @@ -0,0 +1,9 @@ + +-- + +pub.solar Admins (they/them) + +MAIL: admins@pub.solar +GIT: git.b12f.io/pub-solar +MATRIX: #general:pub.solar +WEB: pub.solar diff --git a/users/ben/.config/offlineimap/config b/users/ben/.config/offlineimap/config index 790a431b..ede944c4 100644 --- a/users/ben/.config/offlineimap/config +++ b/users/ben/.config/offlineimap/config @@ -1,7 +1,7 @@ [general] pythonfile = $XDG_CONFIG_HOME/offlineimap/functions.py metadata = $XDG_DATA_HOME/offlineimap -accounts = BBEU, RWTH, MiOM +accounts = BBEU, RWTH, MiOM, PubSolar [Account BBEU] localrepository = LocalBBEU @@ -62,3 +62,18 @@ remotehost = mail.hosting.de remoteuser = byb@miom.space remotepasseval = get_secret("service", "smtp", "host", "mail.hosting.de", "user", "byb@miom.space") sslcacertfile = /etc/ssl/certs/ca-certificates.crt + +[Account PubSolar] +localrepository = LocalPubSolar +remoterepository = RemotePubSolar + +[Repository LocalPubSolar] +type = Maildir +localfolders = ~/Mail/byb@miom.space + +[Repository RemotePubSolar] +type = IMAP +remotehost = mail.greenbaum.cloud +remoteuser = admins@pub.solar +remotepasseval = get_secret("service", "smtp", "host", "mail.greenbaum.cloud", "user", "admins@pub.solar") +sslcacertfile = /etc/ssl/certs/ca-certificates.crt diff --git a/users/ben/home.nix b/users/ben/home.nix index ffab4324..1442b429 100644 --- a/users/ben/home.nix +++ b/users/ben/home.nix @@ -55,6 +55,7 @@ in macro index 'source $XDG_CONFIG_HOME/mutt/benjamin.baedorf@rwth-aachen.de.muttrc!' macro index 'source $XDG_CONFIG_HOME/mutt/b.baedorf@openproject.com.muttrc!' macro index 'source $XDG_CONFIG_HOME/mutt/byb@miom.space.muttrc!' + macro index 'source $XDG_CONFIG_HOME/mutt/admins@pub.solar.muttrc!' ''; xdg.configFile."mutt/hello@benjaminbaedorf.eu.muttrc".source = ./.config/mutt + "/hello@benjaminbaedorf.eu.muttrc"; xdg.configFile."mutt/benjamin.baedorf@rwth-aachen.de.muttrc".source = ./.config/mutt + "/benjamin.baedorf@rwth-aachen.de.muttrc"; @@ -63,6 +64,8 @@ in xdg.configFile."mutt/b.baedorf@openproject.com.signature".source = ./.config/mutt + "/b.baedorf@openproject.com.signature"; xdg.configFile."mutt/byb@miom.space.muttrc".source = ./.config/mutt + "/byb@miom.space.muttrc"; xdg.configFile."mutt/byb@miom.space.signature".source = ./.config/mutt + "/byb@miom.space.signature"; + xdg.configFile."mutt/admins@pub.solar.muttrc".source = ./.config/mutt + "/admins@pub.solar.muttrc"; + xdg.configFile."mutt/admins@pub.solar.signature".source = ./.config/mutt + "/admins@pub.solar.signature"; xdg.configFile."offlineimap/config".source = ./.config/offlineimap/config; xdg.configFile."msmtp/config".source = ./.config/msmtp/config; # xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg;