diff --git a/.guix/rekahsoft/guix-config/vms/cloud0-home-rekahsoft-ca.scm b/.guix/rekahsoft/guix-config/vms/cloud0-home-rekahsoft-ca.scm index 383ba88..8ee92ff 100644 --- a/.guix/rekahsoft/guix-config/vms/cloud0-home-rekahsoft-ca.scm +++ b/.guix/rekahsoft/guix-config/vms/cloud0-home-rekahsoft-ca.scm @@ -13,19 +13,6 @@ (define base-system (proxmox-vm-lvm-minimal "cloud0")) -(define %radicale-config-file - (plain-file "radicale.conf" " -[auth] -type = htpasswd -htpasswd_filename = /var/lib/radicale/users -htpasswd_encryption = bcrypt - -[server] -hosts = 0.0.0.0:5232 - -[storage] -filesystem_folder = /var/lib/radicale/collections")) - (define %system (operating-system (inherit base-system) @@ -45,7 +32,14 @@ filesystem_folder = /var/lib/radicale/collections")) (list (service docker-service-type) (service radicale-service-type (radicale-configuration - (config-file %radicale-config-file))) + (auth (radicale-auth-configuration + (type 'htpasswd) + (htpasswd-filename "/var/lib/radicale/users") + (htpasswd-encryption 'bcrypt))) + (server (radicale-server-configuration + (hosts '("0.0.0.0:5232")))) + (storage (radicale-storage-configuration + (filesystem-folder "/var/lib/radicale/collections"))))) (service cephfs-service-type (cephfs-configuration (name "file-vault-nextcloud")