commit 68b50f78104ef7de09cb2289549a8ea6a8ce3442
parent fb6b73cd52d3fe905a5c52e3675720a4fcada0a3
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 12 May 2020 20:04:13 +0200
wakasu: use dnsmasq for NetworkManager…
… preparing trying to use crc 🙃
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/machines/wakasu.nixos.nix b/machines/wakasu.nixos.nix
@@ -11,6 +11,10 @@ with import ../assets/machines.nix; {
"net.bridge.bridge-nf-call-ip6tables" = 0;
};
};
+ environment.etc."NetworkManager/dnsmasq.d/crc.conf".text = ''
+ server=/apps-crc.testing/192.168.130.11
+ server=/crc.testing/192.168.130.11
+ '';
networking = {
firewall.enable = false; # we are in safe territory :D
hosts = {
@@ -31,6 +35,9 @@ with import ../assets/machines.nix; {
"${wireguard.ips.carthage}" = [ "carthage.vpn" ];
"${wireguard.ips.kerkouane}" = [ "kerkouane.vpn" ];
};
+ networkmanager = {
+ dns = "dnsmasq";
+ };
};
profiles = {
dev.enable = true;