diff options
author | tv <tv@krebsco.de> | 2017-07-14 03:40:58 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-07-14 03:40:58 +0200 |
commit | b3d3c5ff04c51350389b0fd74239e0069f9c7267 (patch) | |
tree | f7d3b26856ac4aebb3648b8f8ee101c18dd7650d /tv | |
parent | deecf14af29062f161149a832646cdf1e0c5b0dc (diff) |
tv source: no secret-{common,master} when dummy_secrets
Diffstat (limited to 'tv')
-rw-r--r-- | tv/source.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tv/source.nix b/tv/source.nix index dcfdb7552..18733ee5c 100644 --- a/tv/source.nix +++ b/tv/source.nix @@ -17,10 +17,12 @@ in buildbot = toString <stockholm/tv/dummy_secrets>; tv = "/home/tv/secrets/${name}"; }; - secrets-common.file = "/home/tv/secrets/common"; stockholm.file = toString <stockholm>; } - (mkIf secure { + (mkIf (builder == "tv") { + secrets-common.file = "/home/tv/secrets/common"; + }) + (mkIf (builder == "tv" && secure) { secrets-master.file = "/home/tv/secrets/master"; }) override |