summaryrefslogtreecommitdiff
path: root/hosts/omega-relay/firewall.nix
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2026-02-01 21:18:57 +0100
committerJakub Stachurski <j.stachurski@student.utwente.nl>2026-02-01 21:18:57 +0100
commit4843cb92bfff84fef92af97be76165b4fa7be9c4 (patch)
tree73eab4f5b567f8c6b3d31717c36bc6397d30861f /hosts/omega-relay/firewall.nix
parentc0182f70c7e3070b4122ed98a5c1c5cba1741bec (diff)
Update secrets and keys for omega-relay
Diffstat (limited to '')
-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;