2024-11-11 07:57:40 +00:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
{
|
|
|
|
accounts.calendar.accounts.lotte = {
|
|
|
|
khal = {
|
|
|
|
enable = true;
|
|
|
|
addresses = [ "lotte@chir.rs" ];
|
|
|
|
};
|
|
|
|
primary = true;
|
|
|
|
remote = {
|
|
|
|
passwordCommand = [
|
|
|
|
"${pkgs.coreutils}/bin/cat"
|
|
|
|
config.sops.secrets."accounts/calendar/accounts/lotte/remote/password".path
|
|
|
|
];
|
|
|
|
type = "caldav";
|
|
|
|
url = "https://calendar.zoho.eu/caldav/423167e221264cf4af974b9faa0abc3b/events/";
|
|
|
|
userName = "lotte@chir.rs";
|
|
|
|
vdirsyncer.enable = true;
|
|
|
|
};
|
|
|
|
};
|
2024-11-11 09:10:07 +00:00
|
|
|
accounts.calendar.basePath = "Data/calendar";
|
2024-11-11 07:57:40 +00:00
|
|
|
sops.secrets."accounts/calendar/accounts/lotte/remote/password".sopsFile = ./secrets.yaml;
|
|
|
|
}
|