l sync-containers3: force sysctl value to not conflict

This commit is contained in:
lassulus 2023-01-18 23:43:38 +01:00
parent 4e7e830dce
commit 347bb9ae00

View File

@ -286,7 +286,7 @@ in {
# needed because otherwise we lose local dns
environment.etc."resolv.conf".source = lib.mkForce "/run/systemd/resolve/resolv.conf";
boot.kernel.sysctl."net.ipv4.ip_forward" = lib.mkDefault 1;
boot.kernel.sysctl."net.ipv4.ip_forward" = lib.mkForce 1;
systemd.network.networks.ctr0 = {
name = "ctr0";
address = [