nixos: mjolnir: literalExample -> literalExpression

This commit is contained in:
Graham Christensen 2021-11-12 21:06:17 -05:00
parent fd1f8e1498
commit 87ef832e49

View file

@ -144,7 +144,7 @@ in
protectedRooms = mkOption {
type = types.listOf types.str;
default = [ ];
example = literalExample ''
example = literalExpression ''
[
"https://matrix.to/#/#yourroom:example.org"
"https://matrix.to/#/#anotherroom:example.org"
@ -158,7 +158,7 @@ in
settings = mkOption {
default = { };
type = (pkgs.formats.yaml { }).type;
example = literalExample ''
example = literalExpression ''
{
autojoinOnlyIfManager = true;
automaticallyRedactForReasons = [ "spam" "advertising" ];