summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-11-17 23:13:09 +0100
committermakefu <github@syntax-fehler.de>2015-11-17 23:13:09 +0100
commit4223f2ba00589e07c40ba612dd3e0a8d70363519 (patch)
tree1106d4fdd81d1b84074173d1087b219cdf55794f /shared
parentfd4964ea206844a4e52e9fa436fd737c003c2569 (diff)
shared 1 wolf: add self to binaryCache
Diffstat (limited to 'shared')
-rw-r--r--shared/1systems/wolf.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/1systems/wolf.nix b/shared/1systems/wolf.nix
index 30e6e1d..8c5295b 100644
--- a/shared/1systems/wolf.nix
+++ b/shared/1systems/wolf.nix
@@ -12,8 +12,12 @@ in
../2configs/shack-nix-cacher.nix
../2configs/shack-drivedroid.nix
];
+ # use your own binary cache, fallback use cache.nixos.org (which is used by
+ # apt-cacher-ng in first place)
+ nix.binaryCaches = [ "http://localhost:3142/nixos" "https://cache.nixos.org" ];
networking = {
+ firewall.enable = false;
interfaces.eth0.ip4 = [{
address = shack-ip;
prefixLength = 20;