[general]
status_path = "~/.vdirsyncer/status/"

# --- THE PAIR ---
# This links the local folder (a) to the remote server (b)
[pair my_calendar]
a = "my_calendar_local"
b = "my_calendar_remote"
collections = ["from a", "from b"]
metadata = ["displayname", "color"]

# --- LOCAL STORAGE ---
# Where the calendar files will sit on your Linux machine
[storage my_calendar_local]
type = "filesystem"
path = "~/.calendars/"
fileext = ".ics"

# --- REMOTE STORAGE ---
# Your online provider details
[storage my_calendar_remote]
type = "caldav"
# You must find the specific CalDAV URL for your provider (Google, Nextcloud, etc.)
url = "https://drive.sakamoto.dev/remote.php/dav"
username = "admin"
password.fetch = ["shell", "cat ~/.secrets/vdirsyncer_secrets"]
