Open peigongdsd opened 2 years ago
I have found that neither of the following have the required effect:
systemd.network.networks.wg0.networkConfig.IPForward = true;
systemd.network.networks.wg0.networkConfig.IPForward = "ip4";
giving
# cat /proc/sys/net/ipv4/ip_forward
0
whereas, using this in the same module instead:
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
gives
cat /proc/sys/net/ipv4/ip_forward
1
Describe the bug
There r attributes provided by systemd-networkd but is missing from module systemd.network.
Steps To Reproduce
For example, the attribute
is provided by systemd-networkd.
(pasted from freedesktop documents)
However, such a key is absent from https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/system/boot/networkd.nix, in which it should take a place in "sectionLink = "