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 { extraConfig = mkOption {
default = { }; default = { };
type = types.attrs; type = types.attrs;
example = literalExpression ''{ example = literalExpression ''
reverseProxy = true; {
defaults = { reverseProxy = true;
name = "Your Network"; defaults = {
host = "localhost"; name = "Your Network";
port = 6697; host = "localhost";
}; port = 6697;
}''; };
}
'';
description = lib.mdDoc '' description = lib.mdDoc ''
The Lounge's {file}`config.js` contents as attribute set (will be The Lounge's {file}`config.js` contents as attribute set (will be
converted to JSON to generate the configuration file). converted to JSON to generate the configuration file).