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

[pair purelymail_calendar]
a = "purelymail_calendar_local"
b = "purelymail_calendar_remote"
collections = null
conflict_resolution = "b wins"
metadata = ["displayname", "color"]

[storage purelymail_calendar_local]
type = "filesystem"
path = "~/.config/vdirsyncer/calendars/purelymail/"
fileext = ".ics"

[storage purelymail_calendar_remote]
type = "caldav"
url = "https://purelymail.com/webdav/22216/caldav/A44F971C-BC2A-46F0-9992-4B490A8DB7FD/"
username = "henrik@hjarl.com"
password.fetch = ["command", "pass", "show", "henrik@hjarl.com"]

[pair google_calendar]
a = "google_calendar_local"
b = "google_calendar_remote"
collections = ["from a", "from b"]
conflict_resolution = "b wins"
metadata = ["color"]

[storage google_calendar_local]
type = "filesystem"
path = "~/.config/vdirsyncer/calendars/google/"
fileext = ".ics"

[storage google_calendar_remote]
type = "google_calendar"
token_file = "~/.config/vdirsyncer/google_calendar_token"
client_id = "46299105873-2qbog08khdujcgvecbnjeql1r1rb0nir.apps.googleusercontent.com"
client_secret = "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"

[pair holidays]
a = "holidays_local"
b = "holidays_remote"
collections = null
conflict_resolution = "b wins"
metadata = ["color"]

[storage holidays_local]
type = "filesystem"
path = "~/.config/vdirsyncer/calendars/holidays/"
fileext = ".ics"

[storage holidays_remote]
type = "http"
url = "https://calendar.google.com/calendar/ical/en.norwegian%23holiday%40group.v.calendar.google.com/public/basic.ics"
read_only = "true"
