Skip to content

Commit

Permalink
zhloe: move IPv{4,6} forwarding config to networkd.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
reckenrode committed Dec 26, 2024
1 parent 621c545 commit f3d2f60
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hosts/zhloe/systemd-networkd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
}
'';

systemd.network.config.networkConfig = {
IPv4Forwarding = true;
IPv6Forwarding = true;
};

systemd.network.networks.lan = {
enable = true;
matchConfig.Name = "enp2s0";
Expand Down Expand Up @@ -55,8 +60,6 @@
DNSSEC = true;
IPv6PrivacyExtensions = false;
IPv6AcceptRA = true;
IPv4Forwarding = true;
IPv6Forwarding = true;
};

dhcpV4Config = {
Expand Down

0 comments on commit f3d2f60

Please sign in to comment.