Add davmail as package for easier setup
This commit is contained in:
parent
d989e132d1
commit
459695e9a0
|
@ -54,7 +54,10 @@ secret-tool store --label="UKAEA mail mbsync" email evie.litherland-smith@ukaea.
|
|||
*** Configuration
|
||||
On first run (or if token expires), stop systemd service and run manually to complete manual auth. Token will stay valid for a little while (no idea how long specifically).
|
||||
#+begin_src bash
|
||||
systemctl --user disable --now davmail.service && nix run nixpkgs#davmail -- -notray ~/.davmail.properties
|
||||
# Restart service to ensure ~/.davmail.properties exists
|
||||
systemctl --user restart davmail.service
|
||||
# Disable service and run to use manual authentication
|
||||
systemctl --user disable --now davmail.service && davmail -notray ~/.davmail.properties
|
||||
#+end_src
|
||||
|
||||
Recreate and enable services after modifying:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ config, lib, pkgs, hostName, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ davmail ];
|
||||
programs = {
|
||||
mbsync = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue