From 347bb9ae00f8f1b6942f94d4c983593052a5c227 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 18 Jan 2023 23:43:38 +0100 Subject: l sync-containers3: force sysctl value to not conflict --- lass/3modules/sync-containers3.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lass/3modules/sync-containers3.nix b/lass/3modules/sync-containers3.nix index 8f6f74a3..5188f270 100644 --- a/lass/3modules/sync-containers3.nix +++ b/lass/3modules/sync-containers3.nix @@ -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 = [ -- cgit v1.2.3