mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-10 02:51:05 +01:00
This includes the calendar/contacts prefix in the storage name as well as the pair name to ensure that if the same name is used for contacts and calendar then it is correctly referenced.
48 lines
952 B
Text
48 lines
952 B
Text
storage calendar-http-local {
|
|
fileext .ics
|
|
path /home/hm-user/.local/state/calendar/http
|
|
type vdir/icalendar
|
|
}
|
|
storage calendar-mine-local {
|
|
fileext .ics
|
|
path /home/hm-user/.local/state/calendar/mine
|
|
type vdir/icalendar
|
|
}
|
|
storage calendar-http-remote {
|
|
type webcal
|
|
url https://example.com/calendar
|
|
}
|
|
storage calendar-mine-remote {
|
|
type caldav
|
|
url https://caldav.example.com
|
|
username alice
|
|
password {
|
|
cmd pass caldav
|
|
}
|
|
}
|
|
pair calendar-http {
|
|
storage_a calendar-http-local
|
|
storage_b calendar-http-remote
|
|
}
|
|
pair calendar-mine {
|
|
storage_a calendar-mine-local
|
|
storage_b calendar-mine-remote
|
|
}
|
|
storage contacts-mine-local {
|
|
fileext .vcf
|
|
path /home/hm-user/.local/state/contact/mine
|
|
type vdir/vcard
|
|
}
|
|
storage contacts-mine-remote {
|
|
type carddav
|
|
url https://carddav.example.com
|
|
username bob
|
|
password {
|
|
cmd pass carddav
|
|
}
|
|
}
|
|
pair contacts-mine {
|
|
storage_a contacts-mine-local
|
|
storage_b contacts-mine-remote
|
|
}
|
|
status_path /test/dir
|