diff options
Diffstat (limited to 'tv')
-rw-r--r-- | tv/1systems/cd.nix | 4 | ||||
-rw-r--r-- | tv/1systems/nomic.nix | 4 | ||||
-rw-r--r-- | tv/1systems/wu.nix | 4 | ||||
-rw-r--r-- | tv/2configs/git.nix | 12 | ||||
-rw-r--r-- | tv/2configs/urlwatch.nix | 2 |
5 files changed, 14 insertions, 12 deletions
diff --git a/tv/1systems/cd.nix b/tv/1systems/cd.nix index 659b950..9f412d9 100644 --- a/tv/1systems/cd.nix +++ b/tv/1systems/cd.nix @@ -14,8 +14,8 @@ in krebs.build.deps = { nixpkgs = { - url = https://github.com/NixOS/nixpkgs; - rev = "4c01e6d91993b6de128795f4fbdd25f6227fb870"; + url = https://github.com/4z3/nixpkgs; + rev = "03130ec91356cd250b80f144022ee2f4d665ca36"; # 1357692 }; secrets = { url = "/home/tv/secrets/${config.krebs.build.host.name}"; diff --git a/tv/1systems/nomic.nix b/tv/1systems/nomic.nix index 6418cdc..028e535 100644 --- a/tv/1systems/nomic.nix +++ b/tv/1systems/nomic.nix @@ -10,8 +10,8 @@ with lib; krebs.build.deps = { nixpkgs = { - url = https://github.com/NixOS/nixpkgs; - rev = "9d5508d85c33b8fb22d79dde6176792eac2c2696"; + url = https://github.com/4z3/nixpkgs; + rev = "03130ec91356cd250b80f144022ee2f4d665ca36"; # 1357692 }; secrets = { url = "/home/tv/secrets/${config.krebs.build.host.name}"; diff --git a/tv/1systems/wu.nix b/tv/1systems/wu.nix index 20dbca1..2233b48 100644 --- a/tv/1systems/wu.nix +++ b/tv/1systems/wu.nix @@ -14,8 +14,8 @@ in krebs.build.deps = { nixpkgs = { - url = https://github.com/NixOS/nixpkgs; - rev = "9d5508d85c33b8fb22d79dde6176792eac2c2696"; + url = https://github.com/4z3/nixpkgs; + rev = "03130ec91356cd250b80f144022ee2f4d665ca36"; # 1357692 }; secrets = { url = "/home/tv/secrets/${config.krebs.build.host.name}"; 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 |