summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2021-11-12 21:06:17 -0500
committerGraham Christensen <graham@grahamc.com>2021-11-12 21:06:17 -0500
commit87ef832e49f9cdcdd76cab9605c090a15bd17b0e (patch)
tree86a5f4b064860b9e784deefd206e2a881fa93943 /nixos
parentfd1f8e149813909b9566a8ee17bb8bed3666ecfa (diff)
nixos: mjolnir: literalExample -> literalExpression
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/matrix/mjolnir.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/matrix/mjolnir.nix b/nixos/modules/services/matrix/mjolnir.nix
index a44d8eb9e471..8a54f93d98d8 100644
--- a/nixos/modules/services/matrix/mjolnir.nix
+++ b/nixos/modules/services/matrix/mjolnir.nix
@@ -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" ];