summary refs log tree commit diff
path: root/nixos/modules/services/matrix
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/modules/services/matrix
parentfd1f8e149813909b9566a8ee17bb8bed3666ecfa (diff)
downloadnixpkgs-87ef832e49f9cdcdd76cab9605c090a15bd17b0e.tar
nixpkgs-87ef832e49f9cdcdd76cab9605c090a15bd17b0e.tar.gz
nixpkgs-87ef832e49f9cdcdd76cab9605c090a15bd17b0e.tar.bz2
nixpkgs-87ef832e49f9cdcdd76cab9605c090a15bd17b0e.tar.lz
nixpkgs-87ef832e49f9cdcdd76cab9605c090a15bd17b0e.tar.xz
nixpkgs-87ef832e49f9cdcdd76cab9605c090a15bd17b0e.tar.zst
nixpkgs-87ef832e49f9cdcdd76cab9605c090a15bd17b0e.zip
nixos: mjolnir: literalExample -> literalExpression
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" ];