Commit graph

53 commits

Author SHA1 Message Date
Evie Litherland-Smith ad63fc07e9 Set copied davmail file to writeable 2023-10-08 09:53:09 +01:00
Evie Litherland-Smith 9ce0fac4e9 davmail service now copies properties file if it doesn't exist already 2023-10-08 09:49:07 +01:00
Evie Litherland-Smith f84084edcd Add UKAEA email to inboxes mbsync group 2023-10-07 10:29:31 +01:00
Evie Litherland-Smith d7c6f05f03 Merge branch 'main' of https://git.xenia.me.uk/xenia/nixos 2023-10-04 16:39:52 +01:00
Evie Litherland-Smith c09c68ddfa Adjust imapnotify command
Make davmail start after hyprland-session.target
2023-10-04 16:39:34 +01:00
Evie Litherland-Smith e69a6df605 Re-enable work email by default now davmail fixed
Fix notify message from imapnotify, wasn't saying correct account names
2023-10-04 09:53:38 +01:00
Evie Litherland-Smith a10b4ba19d Specify vdirsyncer collections for ukaea account 2023-10-03 16:01:33 +01:00
Evie Litherland-Smith c7ee2840fb Fix typo in msmtp config 2023-10-03 09:24:43 +01:00
Evie Litherland-Smith 6c63148774 Make more account activation dependency links
Link more calendar/contact accounts with relevant email
Link services to expressions required

Disable ukaea email by default, enable on work laptop
2023-10-03 07:59:00 +01:00
Evie Litherland-Smith 2a478e5510 Re-enable vdirsyncer config for ukaea 2023-10-02 18:10:48 +01:00
Evie Litherland-Smith 95b1dc038e Davmail service uses package directly instead of container 2023-10-02 16:58:54 +01:00
Evie Litherland-Smith 73fe8fa55d Fix missing setuidmap for podman units 2023-10-02 07:27:48 +01:00
Evie Litherland-Smith aadb3fc92e Adjust systemd mail unit dependencies 2023-10-02 06:26:54 +01:00
Evie Litherland-Smith 171eda1d70 Run davmail with podman container
Enable all accounts by default
Add easy switch to disable if needed
2023-10-01 12:04:09 +01:00
Evie Litherland-Smith 406d922c8b Fix protonmail-bridge
systemd service now runs a podman container for protonmail-bridge so
it's isolated and works properly
2023-10-01 11:40:47 +01:00
Evie Litherland-Smith 55a6c3c281 Only make systemd services if mbsync for account is enabled 2023-10-01 09:20:15 +01:00
Evie Litherland-Smith 069bf62ca4 Move service setup out of default.nix 2023-10-01 09:17:45 +01:00
Evie Litherland-Smith 0b8d230151 Temp disable proton account due to bridge issues 2023-10-01 09:04:50 +01:00
Evie Litherland-Smith 8784149bd8 Move protonmail-bridge and davmail to systemd services 2023-10-01 08:55:00 +01:00
Evie Litherland-Smith 958d283336 Increase wait time for imapnotify 2023-09-30 10:11:58 +01:00
Evie Litherland-Smith 51c04cf77f Change lookup command for vdirsyncer 2023-09-30 10:10:32 +01:00
Evie Litherland-Smith 3a6dad0356 Update vdirsyncer to use secret-tool as well 2023-09-30 10:05:47 +01:00
Evie Litherland-Smith 6b7b76e7bc Switch to gnome-keyring for libsecret
email password and git credential helper now use gnome-keyring/secret-service
2023-09-30 09:27:43 +01:00
Evie Litherland-Smith 6bc0649fce Don't enable work accounts by default
Enable specifically on work laptop
2023-09-30 07:38:52 +01:00
Evie Litherland-Smith 7a38166e5b Revert breaking imapnotify config 2023-09-29 14:55:18 +01:00
Evie Litherland-Smith 187b8f271e imapnotify only send notification on new mail 2023-09-29 12:37:58 +01:00
Evie Litherland-Smith bdd1becab1 Move UKAEA email config back to mail expression
Add davmail sample config
Add mu4e maildir shortcuts
2023-09-29 09:55:52 +01:00
Evie Litherland-Smith 6f329aaf4d Remove notifymuch 2023-09-29 09:29:07 +01:00
Evie Litherland-Smith 2ade6e92de Revert to mu/mu4e, remove notmuch
Use imapnotify to check for new mail and trigger mbsync pull +
notification for new mail

Add mailbox shortcuts to mu4e
2023-09-29 09:28:11 +01:00
Evie Litherland-Smith dab30daae3 Revert "Remove mu and wanderlust for notmuch"
This reverts commit d1483e5989.
2023-09-29 08:31:39 +01:00
Evie Litherland-Smith 412cde08cf Run notifymuch in mbsync service 2023-09-29 08:11:32 +01:00
Evie Litherland-Smith d1483e5989 Remove mu and wanderlust for notmuch 2023-09-28 18:54:36 +01:00
Evie Litherland-Smith 61c5434ba3 Add notifymuch package with hook
Should get desktop notifications on new notmuch entries now

Trial different emacs email frontends
2023-09-28 17:04:01 +01:00
Evie Litherland-Smith 600606d554 Run notmuch new after mbsync job 2023-09-28 15:33:41 +01:00
Evie Litherland-Smith ac100d31df Add notmuch alongside mu4e 2023-09-26 11:23:35 +01:00
Evie Litherland-Smith b4a688fa9b Fix ignoring Labels from protonmail 2023-09-26 10:49:13 +01:00
Evie Litherland-Smith 0f6b6583d1 Add khard with config 2023-09-26 10:19:33 +01:00
Evie Litherland-Smith c9da3247f9 Enable khal for calendar 2023-09-26 10:02:40 +01:00
Evie Litherland-Smith 9e79181f9a Enable vdirsyncer service, fix metasync for contacts 2023-09-26 09:41:03 +01:00
Evie Litherland-Smith 341c5a6eca Re-enable sync services 2023-09-26 08:17:34 +01:00
Evie Litherland-Smith 25740f7288 Email account updates
Move base mail path definition

Update patterns to exclude duplicate folders and hopefully speed up
mbsync a bit

Add an "inboxes" group for emacs to use when updating mu4e, pulls all
inboxes only

Temp disable mbsync systemd job
2023-09-25 17:59:40 +01:00
Evie Litherland-Smith 103daec5c2 Add initial (nextcloud) calendar and contact 2023-09-25 14:22:51 +01:00
Evie Litherland-Smith 2579ddbaa9 Move accounts file into separate directory
Started accounts/email.nix to prep separation for adding calendar and
contact expressions

Move maildir back to ~/.mail to be consistent with ~/.calendar and ~/.contact
2023-09-25 13:42:13 +01:00
Evie Litherland-Smith 9394a99a4c Move a bunch of default.nix up a level
Loads of expressions were a single default.nix in a directory, instead
just make a single directory
Hyprland is the only directory of expressions left
Move a few things around to fit this a bit better
Add home/default.nix to defer "import all" from flake.nix

Remove work email from default account set up, add to work laptop
specifically and only

Clean up a few unused expressions
2023-09-15 07:13:52 +01:00
Evie Litherland-Smith da9080b423 Fix mu4e installation so I can go back to using mu 2023-09-14 17:09:21 +01:00
Evie Litherland-Smith 0b18a7860b Replace alot with astroid and add some notmuch config 2023-09-14 11:56:26 +01:00
Evie Litherland-Smith 3fe286c2a0 Add email accounts properly using nix
Switch to notmuch instead of mu due to mu/mu4e nix weirdness
2023-09-14 08:30:55 +01:00
Evie Litherland-Smith 4b2276d5b9 Fix mbsync frequency definition 2023-09-10 17:33:32 +01:00
Evie Litherland-Smith 10a44cbc2d Major re-write to make things more modularised
Move collection expressions from hosts/ into services/ as importable
modules
Remove service/hostname.nix collections
Remove all imports from host/ expressions and include as modules in
flake.nix
Set sensible defaults that propagate to (I think) everything
2023-09-10 17:07:11 +01:00
Evie Litherland-Smith 872a4a75fd Run mbsync hourly instead of every 5 minutes 2023-09-10 10:31:58 +01:00