nixos/services/matrix-synapse: fix eval errors in manual example

Changed files
+3 -3
nixos
modules
services
+3 -3
nixos/modules/services/misc/matrix-synapse.xml
···
<link xlink:href="https://github.com/matrix-org/synapse#synapse-installation">
installation instructions of Synapse </link>.
<programlisting>
-
{ pkgs, ... }:
let
fqdn =
let
-
join = hostName: domain: hostName + optionalString (domain != null) ".${domain}";
in join config.networking.hostName config.networking.domain;
in {
networking = {
···
}
];
};
-
};
</programlisting>
</para>
···
<link xlink:href="https://github.com/matrix-org/synapse#synapse-installation">
installation instructions of Synapse </link>.
<programlisting>
+
{ pkgs, lib, ... }:
let
fqdn =
let
+
join = hostName: domain: hostName + lib.optionalString (domain != null) ".${domain}";
in join config.networking.hostName config.networking.domain;
in {
networking = {
···
}
];
};
+
}
</programlisting>
</para>