git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/module/jboss: Add types to options (#110451)
commitc1efc3274093abbd3b89091ff1df8edda550abd9 authorFritz Otlinghaus <fritz@otlinghaus.it> dateFri 22 Jan 2021, 11:11 (6 years ago) parent332a537
1 file changed+6
nixos/modules/services/web-servers/jboss/default.nix+6
nixos/modules/services/web-servers/jboss/default.nix+6
@@ -31,32 +31,38 @@ in
3131
3232 tempDir = mkOption {
3333 default = "/tmp";
34+ type = types.str;
3435 description = "Location where JBoss stores its temp files";
3536 };
3637
3738 logDir = mkOption {
3839 default = "/var/log/jboss";
40+ type = types.str;
3941 description = "Location of the logfile directory of JBoss";
4042 };
4143
4244 serverDir = mkOption {
4345 description = "Location of the server instance files";
4446 default = "/var/jboss/server";
47+ type = types.str;
4548 };
4649
4750 deployDir = mkOption {
4851 description = "Location of the deployment files";
4952 default = "/nix/var/nix/profiles/default/server/default/deploy/";
53+ type = types.str;
5054 };
5155
5256 libUrl = mkOption {
5357 default = "file:///nix/var/nix/profiles/default/server/default/lib";
5458 description = "Location where the shared library JARs are stored";
59+ type = types.str;
5560 };
5661
5762 user = mkOption {
5863 default = "nobody";
5964 description = "User account under which jboss runs.";
65+ type = types.str;
6066 };
6167
6268 useJK = mkOption {