summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2018-05-01 00:14:31 +0200
committerClément Lassieur <clement@lassieur.org>2018-05-01 00:25:31 +0200
commitcb7c80f67de656025dee60785fb4b45ce2d7dacd (patch)
tree6b47517eecb67df47d2c64f3cdf1f06468209623 /gnu
parent9c6a461cf0512b8f43f83837907f35cf2255077e (diff)
downloadguix-cb7c80f67de656025dee60785fb4b45ce2d7dacd.tar.gz
services: prosody: Add a default value to the prosody-service-type.
* gnu/services/messaging.scm (prosody-service-type)[default-value]: New field.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/messaging.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm
index 8ab1481f61..273ba2cc14 100644
--- a/gnu/services/messaging.scm
+++ b/gnu/services/messaging.scm
@@ -692,6 +692,11 @@ See also @url{https://prosody.im/doc/modules/mod_muc}."
                                           (const %prosody-accounts))
                        (service-extension activation-service-type
                                           prosody-activation)))
+                (default-value (prosody-configuration
+                                (virtualhosts
+                                 (list
+                                  (virtualhost-configuration
+                                   (domain "localhost"))))))
                 (description
                  "Run Prosody, a modern XMPP communication server.")))