From cfcc0cde6cfa10c686da9ae5b010874c618df6c0 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sun, 16 Sep 2018 18:29:26 +0200 Subject: [PATCH] steveej-laptop/network-manager: use dnsMasq and add local networks --- nixos-configuration/steveej-laptop/system.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos-configuration/steveej-laptop/system.nix b/nixos-configuration/steveej-laptop/system.nix index 869a015..0d79a6b 100644 --- a/nixos-configuration/steveej-laptop/system.nix +++ b/nixos-configuration/steveej-laptop/system.nix @@ -59,6 +59,7 @@ rec { networking.networkmanager = { enable = true; + useDnsmasq = true; unmanaged = [ "interface-name:veth*" "interface-name:virbr*" @@ -67,6 +68,12 @@ rec { "interface-name:*cni*" ]; }; + # Used for testing local Tectonic clusters + environment.etc."NetworkManager/dnsmasq.d/tectonic.conf".text = '' + server=/tt.testing/192.168.124.1 + server=/tectonic-ci.de/192.168.124.1 + server=/tectonic-ci.lan/192.168.124.1 + ''; networking.bridges."virbr1".interfaces = []; networking.interfaces."virbr1".ipv4.addresses = [