summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-27 15:13:44 +0100
committertv <tv@krebsco.de>2016-02-27 15:23:21 +0100
commit35d7bc99463590c54e55b39e2bca5cb9083e9e76 (patch)
tree3a928a0c3cace5813a515be73a50981c51363bce
parent94154606cb011a53bfd81b52dbc60cbdf416371e (diff)
tv: nix.requireSignedBinaryCaches = true
-rw-r--r--tv/2configs/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index 1e0da8da4..0a3e40a5c 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -54,15 +54,14 @@ with config.krebs.lib;
'';
time.timeZone = "Europe/Berlin";
}
+
{
# TODO check if both are required:
nix.chrootDirs = [ "/etc/protocols" pkgs.iana_etc.outPath ];
- nix.trustedBinaryCaches = [
- "https://cache.nixos.org"
- "http://cache.nixos.org"
- "http://hydra.nixos.org"
- ];
+ nix.requireSignedBinaryCaches = true;
+
+ nix.binaryCaches = ["https://cache.nixos.org"];
nix.useChroot = true;
}