summary refs log tree commit diff
path: root/nixos/modules/services/matrix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/matrix')
-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 a44d8eb9e47..8a54f93d98d 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" ];