aboutsummaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index 445ddfd..dcd337a 100644
--- a/default.nix
+++ b/default.nix
@@ -65,8 +65,10 @@ let
networking.useDHCP = false;
networking.resolvconf.enable = false;
- # dnsmasq on the host, see host.nix.
+ # The way out is squid on the host, and DNS only says NXDOMAIN, see
+ # host.nix.
environment.etc."resolv.conf".text = "nameserver 172.16.0.1\n";
+ networking.proxy.default = "http://172.16.0.1:3128";
systemd.network.enable = true;
systemd.network.wait-online.enable = false;
systemd.network.networks.eth = {