From ce193653883f8caabb36677aa79aeedac3d90b4d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 20 Aug 2023 17:28:58 -0700 Subject: disable unifi and promtail/loki on tahoe Add a new network interface on the host (10Gb). --- hosts/tahoe/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix index 2cefdb7..0f955f9 100644 --- a/hosts/tahoe/default.nix +++ b/hosts/tahoe/default.nix @@ -11,15 +11,12 @@ in "${self}/profiles/nas.nix" "${self}/profiles/acme.nix" "${self}/profiles/nginx.nix" - "${self}/profiles/unifi.nix" "${self}/profiles/samba.nix" "${self}/profiles/backup.nix" "${self}/profiles/git-server.nix" "${self}/profiles/music-server.nix" "${self}/profiles/hardware/amd.nix" "${self}/profiles/monitoring/exporter.nix" - "${self}/profiles/monitoring/promtail.nix" - "${self}/profiles/monitoring/loki.nix" ]; # Use systemd-networkd for networking @@ -33,6 +30,15 @@ in }; }; + systemd.network.networks.enp33s0f1 = { + matchConfig.Name = "enp33s0f1"; + networkConfig.DHCP = "yes"; + dhcpV4Config = { + UseDNS = "yes"; + UseDomains = "yes"; + }; + }; + networking.useNetworkd = true; networking.useDHCP = false; networking.firewall.enable = false; -- cgit 1.4.1