1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
nixpkgs/nixos/modules
Bjørn Forsman 67723df930 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.
2015-10-04 20:04:00 +02:00
..
config nixos/fonts: Add unifont to list of default fonts. 2015-09-26 21:04:15 +02:00
hardware Put all firmware in $out/lib/firmware 2015-08-25 00:40:34 +02:00
installer Merge pull request #10160 from dezgeg/pr-unset-build-hook-in-nixos-install 2015-09-30 23:33:07 +02:00
misc xtreemfs: add nixos module 2015-09-22 21:46:52 +02:00
profiles nixos: add xfs support to profiles/minimal 2015-09-18 18:58:18 +00:00
programs Manual: Remove store path references 2015-09-24 11:50:58 +02:00
security nixos: fix some types 2015-09-18 18:48:50 +00:00
services nixos/jenkins: rework environment handling 2015-10-04 20:04:00 +02:00
system Merge pull request #10076 from ts468/upstream.systemd 2015-09-30 15:12:43 +02:00
tasks networking module: restructure wlanInterfaces 2015-10-04 11:00:05 +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:34:38 +02:00
module-list.nix xtreemfs: add nixos module 2015-09-22 21:46:52 +02:00
rename.nix nixos: give users of 'services.openvpn.enable' a nice warning message 2015-09-10 11:38:43 +02:00