summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2023-01-18 23:43:38 +0100
committerlassulus <lassulus@lassul.us>2023-01-18 23:43:38 +0100
commit347bb9ae00f8f1b6942f94d4c983593052a5c227 (patch)
tree5274c60b73178cf832f39f02510a9d1b87341e08
parent4e7e830dce8597822d1916d5f6b014404f4ea1a1 (diff)
l sync-containers3: force sysctl value to not conflict
-rw-r--r--lass/3modules/sync-containers3.nix2
1 files changed, 1 insertions, 1 deletions
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 = [