diff --git a/nixos/modules/services/databases/cassandra.nix b/nixos/modules/services/databases/cassandra.nix index 3c41e3becb90..c98af617587d 100644 --- a/nixos/modules/services/databases/cassandra.nix +++ b/nixos/modules/services/databases/cassandra.nix @@ -128,6 +128,7 @@ in { package = mkOption { description = "Cassandra package to use."; default = pkgs.cassandra; + defaultText = "pkgs.cassandra"; type = types.package; }; jre = mkOption { @@ -149,6 +150,7 @@ in { envFile = mkOption { description = "path to cassandra-env.sh"; default = "${cassandraPackage}/conf/cassandra-env.sh"; + defaultText = "\${cassandraPackage}/conf/cassandra-env.sh"; type = types.path; }; clusterName = mkOption { @@ -190,6 +192,7 @@ in { }; envScript = mkOption { default = "${cassandraPackage}/conf/cassandra-env.sh"; + defaultText = "\${cassandraPackage}/conf/cassandra-env.sh"; type = types.path; description = "Supply your own cassandra-env.sh rather than using the default"; };