summaryrefslogtreecommitdiff
path: root/systems
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-07-01 21:53:15 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-07-01 22:07:36 +0200
commit006ede67980a01f924b4fe959adbd70f30160514 (patch)
tree7390e0f3948c8add7823aa33a55ee1176738e3bb /systems
parent2584733707c606b0e9cf8d6ac9c3ebe106bc56db (diff)
update the radicale configuration to the new structure
Diffstat (limited to 'systems')
-rw-r--r--systems/izumi/izumi.org16
-rw-r--r--systems/izumi/system-configuration.scm16
2 files changed, 12 insertions, 20 deletions
diff --git a/systems/izumi/izumi.org b/systems/izumi/izumi.org
index a8482e8..9d7b91e 100644
--- a/systems/izumi/izumi.org
+++ b/systems/izumi/izumi.org
@@ -688,16 +688,12 @@
( 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" ) ) ) )
+ ( auth
+ ( list
+ ( radicale-auth-configuration
+ ( type 'htpasswd )
+ ( htpasswd-filename radicale_keys )
+ ( htpasswd-encryption 'plain ) )) ) ) )
( simple-service 'base-profile profile-service-type
( append %base-packages
( list ) ) )
diff --git a/systems/izumi/system-configuration.scm b/systems/izumi/system-configuration.scm
index 83dac5f..a97689b 100644
--- a/systems/izumi/system-configuration.scm
+++ b/systems/izumi/system-configuration.scm
@@ -678,16 +678,12 @@
( 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" ) ) ) )
+ ( auth
+ ( list
+ ( radicale-auth-configuration
+ ( type 'htpasswd )
+ ( htpasswd-filename radicale_keys )
+ ( htpasswd-encryption 'plain ) )) ) ) )
( simple-service 'base-profile profile-service-type
( append %base-packages
( list ) ) )