aboutsummaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 17:15:55 +0000
committertv <tv@krebsco.de>2026-11-16 18:16:30 +0100
commitdf7d88915d7e4022cb5f85fc95bc174fa5fc9d50 (patch)
treefc8333911aa22cf4b58b65c82a709d29c4d388f7 /default.nix
parent0c94611b7a5f6c564d4cc15554fc2ac8b442aba6 (diff)
let the guests' dnsmasq be their DNS resolver too
It forwards to the servers in the host's resolv.conf and listens only on fcbr0, so it doesn't get in the way of a resolver on the host's loopback. The service is renamed from fcbr0-dhcp to fcbr0-dnsmasq.
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index fc2d6e0..538c928 100644
--- a/default.nix
+++ b/default.nix
@@ -53,7 +53,7 @@ let
networking.useDHCP = false;
networking.resolvconf.enable = false;
- # The host's resolver, see host.nix.
+ # dnsmasq on the host, see host.nix.
environment.etc."resolv.conf".text = "nameserver 172.16.0.1\n";
systemd.network.enable = true;
systemd.network.wait-online.enable = false;