diff options
author | makefu <github@syntax-fehler.de> | 2016-06-23 17:04:07 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-06-23 17:04:07 +0200 |
commit | 271a59b1d6222f7336fac427631ee5bb569a000e (patch) | |
tree | 804b845cebb530001e79b16ddcb70d2d12d8c7f5 /lass/2configs/default.nix | |
parent | d5e0dcccd074d7e63cfa7fff35782cb92c101270 (diff) | |
parent | a8dcedbb99151ce396d58573f339fa34d7537fa1 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/2configs/default.nix')
-rw-r--r-- | lass/2configs/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lass/2configs/default.nix b/lass/2configs/default.nix index deb3c46c2..9e0e37e48 100644 --- a/lass/2configs/default.nix +++ b/lass/2configs/default.nix @@ -59,12 +59,13 @@ with config.krebs.lib; user = config.krebs.users.lass; source = mapAttrs (_: mkDefault) ({ nixos-config = "symlink:stockholm/lass/1systems/${config.krebs.build.host.name}.nix"; - secrets = - if getEnv "dummy_secrets" == "true" + secrets = if getEnv "dummy_secrets" == "true" then toString <stockholm/lass/2configs/tests/dummy-secrets> else "/home/lass/secrets/${config.krebs.build.host.name}"; #secrets-common = "/home/lass/secrets/common"; - stockholm = "/home/lass/stockholm"; + stockholm = if getEnv "dummy_secrets" == "true" + then "/var/lib/buildbot/slave/build-all/build" + else "/home/lass/stockholm"; } // optionalAttrs config.krebs.build.host.secure { #secrets-master = "/home/lass/secrets/master"; }); |