summaryrefslogtreecommitdiffstats
path: root/tv/2configs
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
commitd040b41aed17d96bfc4c58554c2be8f029500010 (patch)
tree242dc582c9356903b6da23d9da9d17b4a05a5e94 /tv/2configs
parentddc085ff62cb6c4305ac59d7cac3171c6d825202 (diff)
tv: nix.requireSignedBinaryCaches = true
Diffstat (limited to 'tv/2configs')
-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 1e0da8d..0a3e40a 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;
}