Add calendar and contacts for ukaea
Temp disable vdirsyncer on Ronin as davmail currently isn't working properly for caldav/carddav
This commit is contained in:
parent
f8918f4bfd
commit
1c7a8ae0e5
|
@ -21,7 +21,8 @@
|
||||||
"https://nucleus.ukaea.uk";
|
"https://nucleus.ukaea.uk";
|
||||||
};
|
};
|
||||||
programs.mbsync.groups.inboxes.ukaea = [ "INBOX" ];
|
programs.mbsync.groups.inboxes.ukaea = [ "INBOX" ];
|
||||||
accounts.email.accounts = {
|
accounts = {
|
||||||
|
email.accounts = {
|
||||||
proton.primary = lib.mkForce false;
|
proton.primary = lib.mkForce false;
|
||||||
ukaea = let
|
ukaea = let
|
||||||
host = "127.0.0.1";
|
host = "127.0.0.1";
|
||||||
|
@ -46,7 +47,8 @@
|
||||||
create = "both";
|
create = "both";
|
||||||
expunge = "both";
|
expunge = "both";
|
||||||
remove = "both";
|
remove = "both";
|
||||||
patterns = [ "*" "!Junk" "!Snoozed" "!Sync Issues" "!Unsent Messages" ];
|
patterns =
|
||||||
|
[ "*" "!Junk" "!Snoozed" "!Sync Issues" "!Unsent Messages" ];
|
||||||
subFolders = "Verbatim";
|
subFolders = "Verbatim";
|
||||||
extraConfig.account.AuthMechs = "LOGIN";
|
extraConfig.account.AuthMechs = "LOGIN";
|
||||||
};
|
};
|
||||||
|
@ -61,6 +63,42 @@
|
||||||
notmuch.enable = true;
|
notmuch.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
calendar.accounts.ukaea = {
|
||||||
|
local = {
|
||||||
|
type = "filesystem";
|
||||||
|
fileExt = ".ics";
|
||||||
|
};
|
||||||
|
remote = rec {
|
||||||
|
inherit (config.accounts.email.accounts.ukaea) userName passwordCommand;
|
||||||
|
type = "caldav";
|
||||||
|
url = "http://localhost:1080/users/${userName}/calendar/";
|
||||||
|
};
|
||||||
|
vdirsyncer = {
|
||||||
|
enable = true;
|
||||||
|
collections = [ "from a" ];
|
||||||
|
};
|
||||||
|
khal = {
|
||||||
|
enable = true;
|
||||||
|
type = "discover";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
contact.accounts.ukaea = {
|
||||||
|
local = {
|
||||||
|
type = "filesystem";
|
||||||
|
fileExt = ".vcf";
|
||||||
|
};
|
||||||
|
remote = rec {
|
||||||
|
inherit (config.accounts.email.accounts.ukaea) userName passwordCommand;
|
||||||
|
type = "carddav";
|
||||||
|
url = "http://localhost:1080/users/${userName}/contacts/";
|
||||||
|
};
|
||||||
|
vdirsyncer = {
|
||||||
|
enable = true;
|
||||||
|
collections = [ "from a" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.vdirsyncer.enable = lib.mkForce false; # TEMP until fixed
|
||||||
services.kanshi.profiles = {
|
services.kanshi.profiles = {
|
||||||
undocked = {
|
undocked = {
|
||||||
outputs = [
|
outputs = [
|
||||||
|
|
Loading…
Reference in a new issue