diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-03-21 22:59:10 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-03-21 22:59:10 +0530 |
| commit | c5d02e0c371ca71a9a668bc15dfc63aaf5dc28f9 (patch) | |
| tree | ecc7a6fed9d52593a37514cae058e199bb8c04ff /modules/calendar/ical-sync.nix | |
| parent | a254feb6191d9a20ddd6790229bc55e396cec25d (diff) | |
| download | homeserver-nixos-config-c5d02e0c371ca71a9a668bc15dfc63aaf5dc28f9.tar.gz homeserver-nixos-config-c5d02e0c371ca71a9a668bc15dfc63aaf5dc28f9.zip | |
Caldav server + ical sync service
Diffstat (limited to 'modules/calendar/ical-sync.nix')
| -rw-r--r-- | modules/calendar/ical-sync.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/calendar/ical-sync.nix b/modules/calendar/ical-sync.nix new file mode 100644 index 0000000..a318334 --- /dev/null +++ b/modules/calendar/ical-sync.nix @@ -0,0 +1,14 @@ +{ settings, ... }: +{ + imports = [ ../../services/icaldav.service.nix ]; + + services.icaldavsync = { + enable = true; + syncFrequency = "*:0/30"; + icalLink = settings.calendar.icalLink; + caldavServerUrl = "http://127.0.0.1:${toString settings.network.ports.caldav}"; + password = "pass"; + user = "joe"; + calendar = "Work"; + }; +} |
