nixpkgs/nixos/modules
Bjørn Forsman 3e77e3962a nixos/jenkins: rework environment handling
Jenkins gets (by default) an additional environment of

  { NIX_REMOTE = "daemon"; }

This has the following problems:

  1. NIX_REMOTE disappears when users specify additional environment
     variables, because defaults have low merge priority.
  2. nix cannot be used without additional NIX_PATH envvar, which is
     currently missing.
  3. If you try to use HTTPS, you'll see that jenkins lacks
     SSL_CERT_FILE envvar, causing it to fail.

This commit adds config.environment.sessionVariables and NIX_REMOTE to
the set of variables that are always there for jenkins, making nix and
HTTPS work out of the box.

services.jenkins.environment is now empty by default.

(cherry picked from commit 67723df930)
2015-10-07 16:02:03 +02:00
..
config Revert "nixos/fonts: Add unifont to list of default fonts." 2015-09-30 21:46:06 +02:00
hardware Put all firmware in $out/lib/firmware 2015-08-25 00:40:34 +02:00
installer Fix nixos-upgrade 2015-10-05 09:32:55 +02:00
misc set the channel and commit count in the release 2015-08-27 00:25:31 +02:00
profiles nixos/ISO profile: fix defaultLocales :-) 2015-08-06 12:30:38 +02:00
programs command-not-found: Fix nix-env invocation 2015-09-04 15:02:41 +02:00
security ecryptfs: 2015-08-19 12:16:57 +01:00
services nixos/jenkins: rework environment handling 2015-10-07 16:02:03 +02:00
system Add filesystem option to automatically grow to the maximum size 2015-09-27 21:09:00 +02:00
tasks Add filesystem option to automatically grow to the maximum size 2015-09-27 21:09:00 +02:00
testing test-instrumentation.nix: Prevent calling a pager 2015-01-15 14:39:29 +01:00
virtualisation nixos/docker: default storageDriver to "devicemapper" 2015-10-04 14:36:38 +02:00
module-list.nix virtualbox service: add support for vboxsf guest filesystem 2015-09-26 11:08:32 +02:00
rename.nix Rename users.extraUsers -> users.users, users.extraGroup -> users.groups 2015-09-04 15:02:47 +02:00