aboutsummaryrefslogtreecommitdiff
path: root/modules/apps
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apps')
-rw-r--r--modules/apps/jenkins/default.nix2
-rw-r--r--modules/apps/jenkins/instance.nix1
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/apps/jenkins/default.nix b/modules/apps/jenkins/default.nix
index 8bf230a..bd69477 100644
--- a/modules/apps/jenkins/default.nix
+++ b/modules/apps/jenkins/default.nix
@@ -107,6 +107,8 @@ let
-DJENKINS_HOME='${cfg.home}' \
${optionalString (properties.hudson.model.DirectoryBrowserSupport.CSP != null)
''-Dhudson.model.DirectoryBrowserSupport.CSP="${properties.hudson.model.DirectoryBrowserSupport.CSP}"''} \
+ ${optionalString (properties.java.util.logging.config.file != null)
+ "-Djava.util.logging.config.file='${properties.java.util.logging.config.file}'"} \
-Djava.io.tmpdir='${properties.java.io.tmpdir}' \
-jar '${cfg.war}' \
${concatStringsSep " \\\n " (mapAttrsToList mkOpt (explicit cfg.options))}
diff --git a/modules/apps/jenkins/instance.nix b/modules/apps/jenkins/instance.nix
index cda6462..2c01391 100644
--- a/modules/apps/jenkins/instance.nix
+++ b/modules/apps/jenkins/instance.nix
@@ -28,6 +28,7 @@ in {
properties = {
hudson.model.DirectoryBrowserSupport.CSP = optional str;
java.io.tmpdir = readonly "${config.home}/tmp" path;
+ java.util.logging.config.file = optional path;
};
};