tv source: no secret-{common,master} when dummy_secrets

This commit is contained in:
tv 2017-07-14 03:40:58 +02:00
parent deecf14af2
commit b3d3c5ff04

View File

@ -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