diff options
| author | lassulus <lass@aidsballs.de> | 2015-08-24 13:07:21 +0200 |
|---|---|---|
| committer | lassulus <lass@aidsballs.de> | 2015-08-24 13:07:21 +0200 |
| commit | 28d2c44d4d4b53da42aaac0f045000424b31036f (patch) | |
| tree | 2920f2c4d26bb666f6f1350765c3f0afcebd0c43 /tv/2configs | |
| parent | d54650903371191177e874fab52d952cdb7dea31 (diff) | |
| parent | bcd2427048400d7b6176a55ef45bcc267bf9c25b (diff) | |
Merge branch 'tv'
Diffstat (limited to 'tv/2configs')
| -rw-r--r-- | tv/2configs/git.nix | 12 | ||||
| -rw-r--r-- | tv/2configs/urlwatch.nix | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/tv/2configs/git.nix b/tv/2configs/git.nix index 8d66249..264cb4a 100644 --- a/tv/2configs/git.nix +++ b/tv/2configs/git.nix @@ -8,14 +8,14 @@ let enable = true; root-title = "public repositories at ${config.krebs.build.host.name}"; root-desc = "keep calm and engage"; - inherit repos rules; + repos = mapAttrs (_: s: removeAttrs s ["collaborators"]) repos; + rules = rules; }; }; - repos = mapAttrs (_: s: removeAttrs s ["collaborators"]) ( + repos = public-repos // - optionalAttrs config.krebs.build.host.secure restricted-repos - ); + optionalAttrs config.krebs.build.host.secure restricted-repos; rules = concatMap make-rules (attrValues repos); @@ -66,8 +66,8 @@ let }; }; - make-restricted-repo = name: { desc ? null, ... }: { - inherit name desc; + make-restricted-repo = name: { collaborators ? [], desc ? null, ... }: { + inherit name collaborators desc; public = false; }; diff --git a/tv/2configs/urlwatch.nix b/tv/2configs/urlwatch.nix index a69b151..26e56e0 100644 --- a/tv/2configs/urlwatch.nix +++ b/tv/2configs/urlwatch.nix @@ -11,6 +11,8 @@ # 2014-07-29 when one of the following urls change # then we have to update the package + http://www.exim.org/ + # ref src/nixpkgs/pkgs/tools/admin/sec/default.nix https://api.github.com/repos/simple-evcorr/sec/tags |
