Enable vdirsyncer service, fix metasync for contacts

This commit is contained in:
Evie Litherland-Smith 2023-09-26 09:41:03 +01:00
parent 341c5a6eca
commit 9e79181f9a
3 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
programs.vdirsyncer.enable = true;
accounts.contact = { accounts.contact = {
basePath = ".contact"; basePath = ".contact";
accounts = { accounts = {
@ -19,7 +20,6 @@
vdirsyncer = { vdirsyncer = {
enable = true; enable = true;
collections = [ "from a" ]; collections = [ "from a" ];
metadata = [ "color" "displayname" ];
}; };
}; };
}; };

View file

@ -2,4 +2,8 @@
{ {
imports = [ ./email.nix ./calendar.nix ./contact.nix ]; imports = [ ./email.nix ./calendar.nix ./contact.nix ];
services = {
mbsync.enable = true;
vdirsyncer.enable = true;
};
} }

View file

@ -13,7 +13,6 @@
msmtp.enable = true; msmtp.enable = true;
mu.enable = true; mu.enable = true;
}; };
services.mbsync.enable = true;
accounts.email = { accounts.email = {
maildirBasePath = ".mail"; maildirBasePath = ".mail";
accounts = let realName = "Evie Litherland-Smith"; accounts = let realName = "Evie Litherland-Smith";