nixos/modules: Remove all usages of types.string
And replace them with a more appropriate type Also fix up some minor module problems along the way
This commit is contained in:
@@ -40,7 +40,7 @@ in {
|
||||
'';
|
||||
};
|
||||
configurationURI = mkOption {
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
default = "xbean:activemq.xml";
|
||||
description = ''
|
||||
The URI that is passed along to the BrokerFactory to
|
||||
@@ -51,7 +51,7 @@ in {
|
||||
'';
|
||||
};
|
||||
baseDir = mkOption {
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
default = "/var/activemq";
|
||||
description = ''
|
||||
The base directory where ActiveMQ stores its persistent data and logs.
|
||||
@@ -81,7 +81,7 @@ in {
|
||||
'';
|
||||
};
|
||||
extraJavaOptions = mkOption {
|
||||
type = types.string;
|
||||
type = types.separatedString " ";
|
||||
default = "";
|
||||
example = "-Xmx2G -Xms2G -XX:MaxPermSize=512M";
|
||||
description = ''
|
||||
|
||||
Reference in New Issue
Block a user