nixos/thelounge: fix example rendering

This commit is contained in:
Sandro Jäckel 2023-06-30 18:14:24 +02:00
parent 9999996fd6
commit 000004d123
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -48,14 +48,16 @@ in
extraConfig = mkOption {
default = { };
type = types.attrs;
example = literalExpression ''{
reverseProxy = true;
defaults = {
name = "Your Network";
host = "localhost";
port = 6697;
};
}'';
example = literalExpression ''
{
reverseProxy = true;
defaults = {
name = "Your Network";
host = "localhost";
port = 6697;
};
}
'';
description = lib.mdDoc ''
The Lounge's {file}`config.js` contents as attribute set (will be
converted to JSON to generate the configuration file).