1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-06 09:01:04 +01:00
home-manager/tests/modules/programs/pimsync/basic.scfg
Anton Mosich c3d1e5c65a pimsync: extend test to contacts
If I had added such a test right away, I would have encountered #8258
myself. I mistakenly believed the contact and calendar modules to be the
same.
2025-12-03 04:10:48 +01:00

48 lines
874 B
Text

storage caldav-local {
fileext .ics
path /home/hm-user/.local/state/calendar/caldav
type vdir/icalendar
}
storage http-local {
fileext .ics
path /home/hm-user/.local/state/calendar/http
type vdir/icalendar
}
storage caldav-remote {
type caldav
url https://caldav.example.com
username alice
password {
cmd pass caldav
}
}
storage http-remote {
type webcal
url https://example.com/calendar
}
pair calendar-caldav {
storage_a caldav-local
storage_b caldav-remote
}
pair calendar-http {
storage_a http-local
storage_b http-remote
}
storage carddav-local {
fileext .vcf
path /home/hm-user/.local/state/contact/carddav
type vdir/vcard
}
storage carddav-remote {
type carddav
url https://carddav.example.com
username bob
password {
cmd pass carddav
}
}
pair contacts-carddav {
storage_a carddav-local
storage_b carddav-remote
}
status_path /test/dir