diff options
author | Franck Cuny <franck@fcuny.net> | 2023-08-20 17:28:58 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-08-20 17:28:58 -0700 |
commit | ce193653883f8caabb36677aa79aeedac3d90b4d (patch) | |
tree | c5a2d501300b20124af3e73c63b50a8889a5c4cf | |
parent | remove `sendsms` from tahoe (diff) | |
download | world-ce193653883f8caabb36677aa79aeedac3d90b4d.tar.gz |
disable unifi and promtail/loki on tahoe
Add a new network interface on the host (10Gb).
Diffstat (limited to '')
-rw-r--r-- | hosts/tahoe/default.nix | 12 |
1 files 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; |