diff options
author | Graham Christensen <graham@grahamc.com> | 2021-11-12 21:06:17 -0500 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2021-11-12 21:06:17 -0500 |
commit | 87ef832e49f9cdcdd76cab9605c090a15bd17b0e (patch) | |
tree | 86a5f4b064860b9e784deefd206e2a881fa93943 /nixos/modules/services/matrix | |
parent | fd1f8e149813909b9566a8ee17bb8bed3666ecfa (diff) | |
download | nixpkgs-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.nix | 4 |
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" ]; |