From 87ef832e49f9cdcdd76cab9605c090a15bd17b0e Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 12 Nov 2021 21:06:17 -0500 Subject: nixos: mjolnir: literalExample -> literalExpression --- nixos/modules/services/matrix/mjolnir.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/services/matrix') 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" ]; -- cgit 1.4.1