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" ];