From e749d673e667f5e404784ca9b61d73c933d0e895 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sun, 14 Jan 2024 09:51:16 +0100 Subject: feat(service): install Radicale server Add Radicale service in order to serve CardDAV. --- system-configuration.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'system-configuration.scm') diff --git a/system-configuration.scm b/system-configuration.scm index 19b35ff..f5f1a7d 100644 --- a/system-configuration.scm +++ b/system-configuration.scm @@ -1,4 +1,4 @@ -( add-to-load-path "/home/marek/Dokumenty/secrets" ) +( add-to-load-path "/home/marek/Dokumenty/secrets/" ) ( use-modules ( marek ) @@ -603,6 +603,18 @@ ( ssl-certificate-key "/etc/letsencrypt/live/marekpasnikowski.pl/privkey.pem" ) ) ) ) ) ) ( service openssh-service-type ) + ( service radicale-service-type + ( radicale-configuration + ( config-file + ( mixed-text-file + "radicale.conf" + "[auth]\n" + "type = htpasswd\n" + "htpasswd_filename = " radicale-keys "\n" + "htpasswd_encryption = plain\n" + "\n" + "[server]\n" + "hosts = localhost:5232\n" ) ) ) ) ( simple-service 'base-profile profile-service-type ( append %base-packages ( list -- cgit v1.2.3