diff --git a/nixos/modules/services/databases/cassandra.nix b/nixos/modules/services/databases/cassandra.nix
index ebb50ddf50b..525b51afa21 100644
--- a/nixos/modules/services/databases/cassandra.nix
+++ b/nixos/modules/services/databases/cassandra.nix
@@ -154,7 +154,7 @@ in
listenAddress = mkOption {
type = types.nullOr types.str;
default = "127.0.0.1";
- example = literalExample "null";
+ example = null;
description = ''
Address or interface to bind to and tell other Cassandra nodes
to connect to. You _must_ change this if you want multiple
@@ -186,7 +186,7 @@ in
rpcAddress = mkOption {
type = types.nullOr types.str;
default = "127.0.0.1";
- example = literalExample "null";
+ example = null;
description = ''
The address or interface to bind the native transport server to.
@@ -285,7 +285,7 @@ in
fullRepairInterval = mkOption {
type = types.nullOr types.str;
default = "3w";
- example = literalExample "null";
+ example = null;
description = ''
Set the interval how often full repairs are run, i.e.
nodetool repair --full is executed. See
@@ -308,7 +308,7 @@ in
incrementalRepairInterval = mkOption {
type = types.nullOr types.str;
default = "3d";
- example = literalExample "null";
+ example = null;
description = ''
Set the interval how often incremental repairs are run, i.e.
nodetool repair is executed. See