summaryrefslogtreecommitdiff
path: root/systems/izumi
diff options
context:
space:
mode:
Diffstat (limited to 'systems/izumi')
-rw-r--r--systems/izumi/izumi.scm17
1 files changed, 9 insertions, 8 deletions
diff --git a/systems/izumi/izumi.scm b/systems/izumi/izumi.scm
index f71cbb9..c12ccf5 100644
--- a/systems/izumi/izumi.scm
+++ b/systems/izumi/izumi.scm
@@ -231,6 +231,13 @@
(define mapped-devices-izumi
(mapped-devices-izumi))
+(define (radicale)
+ (service radicale-service-type
+ (radicale-configuration (auth (radicale-auth-configuration
+ (type 'htpasswd)
+ (htpasswd-filename radicale-keys)
+ (htpasswd-encryption 'plain))))))
+
(define swap-device-izumi-1-label
(file-system-label "izumi-swap-f"))
@@ -425,15 +432,9 @@
( listen ( list "192.168.10.2:443 ssl" ) )
( server-name ( list "radicale.marekpasnikowski.pl" ) ) ) ) ) ) )
( service openssh-service-type )
- ( service radicale-service-type
- ( radicale-configuration
- ( auth
- ( radicale-auth-configuration
- ( type 'htpasswd )
- ( htpasswd-filename radicale-keys )
- ( htpasswd-encryption 'plain ) ) ) ) )
(etc-mailname)
- (home-services))))
+ (home-services)
+ (radicale))))
(define swap-device-izumi-1
(swap-space (target swap-device-izumi-1-label)))