Loading nixos/modules/services/web-apps/nexus.nix +12 −2 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ let cfg = config.services.nexus; in { options = { services.nexus = { Loading @@ -20,6 +19,16 @@ in description = lib.mdDoc "Package which runs Nexus3"; }; jdkPackage = mkOption { type = types.package; default = pkgs.openjdk8; defaultText = literalExample "pkgs.openjdk8"; example = literalExample "pkgs.openjdk8"; description = '' The JDK package to use. ''; }; user = mkOption { type = types.str; default = "nexus"; Loading Loading @@ -123,6 +132,7 @@ in NEXUS_USER = cfg.user; NEXUS_HOME = cfg.home; INSTALL4J_JAVA_HOME = "${cfg.jdkPackage}"; VM_OPTS_FILE = pkgs.writeText "nexus.vmoptions" cfg.jvmOpts; }; Loading Loading
nixos/modules/services/web-apps/nexus.nix +12 −2 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ let cfg = config.services.nexus; in { options = { services.nexus = { Loading @@ -20,6 +19,16 @@ in description = lib.mdDoc "Package which runs Nexus3"; }; jdkPackage = mkOption { type = types.package; default = pkgs.openjdk8; defaultText = literalExample "pkgs.openjdk8"; example = literalExample "pkgs.openjdk8"; description = '' The JDK package to use. ''; }; user = mkOption { type = types.str; default = "nexus"; Loading Loading @@ -123,6 +132,7 @@ in NEXUS_USER = cfg.user; NEXUS_HOME = cfg.home; INSTALL4J_JAVA_HOME = "${cfg.jdkPackage}"; VM_OPTS_FILE = pkgs.writeText "nexus.vmoptions" cfg.jvmOpts; }; Loading