From fbba0d0ee59a8313177687f6943cf5fca2da6318 Mon Sep 17 00:00:00 2001 From: David McFarland Date: Sat, 4 Nov 2017 10:16:31 -0300 Subject: [PATCH] matrix-synapse: default server_name to hostname --- nixos/modules/services/misc/matrix-synapse.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/matrix-synapse.nix b/nixos/modules/services/misc/matrix-synapse.nix index b153ebbc98c..7e880ad09b8 100644 --- a/nixos/modules/services/misc/matrix-synapse.nix +++ b/nixos/modules/services/misc/matrix-synapse.nix @@ -186,6 +186,7 @@ in { server_name = mkOption { type = types.str; example = "example.com"; + default = config.networking.hostName; description = '' The domain name of the server, with optional explicit port. This is used by remote servers to connect to this server,