summaryrefslogtreecommitdiffstats
path: root/shared/1systems/wolf.nix
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
commite4c46c2ec22613830c5839001550f5fa155e260d (patch)
treecb0bf9b0ed26fbfa0477e692e54afdc1a2c3c575 /shared/1systems/wolf.nix
parent7e4eefa91bb3d06baf8c2bd53c26d5b5337b66d8 (diff)
shared 1 wolf: add self to binaryCache
Diffstat (limited to 'shared/1systems/wolf.nix')
-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 30e6e1d07..8c5295bb3 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;