diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-02-01 18:00:27 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-02-01 18:00:27 +0100 |
| commit | c0182f70c7e3070b4122ed98a5c1c5cba1741bec (patch) | |
| tree | 8e2f560bd34f111caf8ef1f5751f88d3147e3d67 /hosts/omega-relay/firewall.nix | |
| parent | fb26a8a59b840c6430c73df6c1cc44ecff156b67 (diff) | |
Format and do fixes
Diffstat (limited to '')
| -rw-r--r-- | hosts/omega-relay/firewall.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/hosts/omega-relay/firewall.nix b/hosts/omega-relay/firewall.nix index 553730e..626307e 100644 --- a/hosts/omega-relay/firewall.nix +++ b/hosts/omega-relay/firewall.nix @@ -1,4 +1,4 @@ -{ config,... }: +{ ... }: let baseTCP = [ 20 @@ -33,6 +33,14 @@ let ]; in { + systemd.network.enable = true; + systemd.network.networks."10-uplink" = { + matchConfig.Name = "ens1"; + networkConfig.DHCP = "ipv4"; + }; + + networking.useDHCP = false; + networking.useNetworkd = true; networking.nftables.enable = true; networking.firewall = { enable = true; |
