aboutsummaryrefslogtreecommitdiffstats
path: root/home/dav
diff options
context:
space:
mode:
Diffstat (limited to 'home/dav')
-rw-r--r--home/dav/default.nix42
1 files changed, 24 insertions, 18 deletions
diff --git a/home/dav/default.nix b/home/dav/default.nix
index 1706963..956ea71 100644
--- a/home/dav/default.nix
+++ b/home/dav/default.nix
@@ -7,21 +7,19 @@
primaryCollection = null; # Set to a specific collection name if needed (e.g., "calendar") when multiple exist
remote = {
type = "caldav";
- url = "https://dav.tammi.cc/petri.hienonen@protonmail.com";
+ url = "https://dav.tammi.cc/petri.hienonen%40protonmail.com/2f799b52-3895-85b0-c2ec-dcd7e86f7073/";
userName = "petri.hienonen@protonmail.com";
- passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.radicale.path}";
+ passwordCommand = [
+ "${pkgs.coreutils}/bin/cat"
+ "${config.age.secrets.radicale.path}"
+ ];
};
local = {
type = "filesystem";
fileExt = ".ics";
};
- vdirsyncer = {
+ pimsync = {
enable = true;
- collections = null; # null syncs all discovered collections; alternatively, specify ["calendar", "tasks", "journal"]
- metadata = [
- "color"
- "displayname"
- ];
};
khal = {
enable = true;
@@ -34,21 +32,19 @@
accounts.radicale = {
remote = {
type = "carddav";
- url = "https://dav.tammi.cc/petri.hienonen@protonmail.com";
+ url = "https://dav.tammi.cc/petri.hienonen%40protonmail.com/9fa208e5-d89a-dda5-bb59-f71f726b7866/";
userName = "petri.hienonen@protonmail.com";
- passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.radicale.path}";
+ passwordCommand = [
+ "${pkgs.coreutils}/bin/cat"
+ "${config.age.secrets.radicale.path}"
+ ];
};
local = {
type = "filesystem";
fileExt = ".vcf";
};
- vdirsyncer = {
+ pimsync = {
enable = true;
- collections = null;
- metadata = [
- "color"
- "displayname"
- ];
};
khard = {
enable = true;
@@ -58,8 +54,18 @@
programs.khal.enable = true;
programs.khard.enable = true;
programs.todoman.enable = true; # For tasks (VTODO); uses the calendar basePath to discover task lists
- services.vdirsyncer = {
+ programs.pimsync = {
+ enable = true;
+ settings = [
+ {
+ name = "status_path";
+ params = [ "${config.xdg.dataHome}/pimsync/status" ];
+ }
+ ];
+ };
+
+ services.pimsync = {
enable = true;
- frequency = "*:0/5"; # Sync every 5 minutes
+ verbosity = "info";
};
}