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 | be85b48720ecd66bed306debe43caebae71b4610 (patch) | |
tree | 26c884a4beac84b85d92ac305315365ffe77787c | |
parent | da53349ba972f59cf7cb4d985f2dc595aaccdf1c (diff) |
tv source: no secret-{common,master} when dummy_secrets
-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 dcfdb75..18733ee 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 |