From 66c7db58ced9f967e8b3d015dbcf33af65708ff7 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Tue, 8 Oct 2024 17:20:52 +0200 Subject: refactor(izumi): isolate (radicale) service --- systems/izumi/izumi.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'systems/izumi') 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))) -- cgit v1.2.3