summaryrefslogtreecommitdiff
path: root/hosts/omega-relay/firewall.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/omega-relay/firewall.nix')
-rw-r--r--hosts/omega-relay/firewall.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/hosts/omega-relay/firewall.nix b/hosts/omega-relay/firewall.nix
index 626307e..15a96b6 100644
--- a/hosts/omega-relay/firewall.nix
+++ b/hosts/omega-relay/firewall.nix
@@ -35,9 +35,15 @@ in
{
systemd.network.enable = true;
systemd.network.networks."10-uplink" = {
- matchConfig.Name = "ens1";
+ matchConfig.Name = "eth*";
networkConfig.DHCP = "ipv4";
+ linkConfig.RequiredForOnline="routable";
};
+ systemd.network.networks."99-fallback" = {
+ matchConfig.Type = "ether";
+ networkConfig.DHCP = "ipv4";
+ linkConfig.RequiredForOnline="routable";
+ }
networking.useDHCP = false;
networking.useNetworkd = true;