From a7be48b96d5ef8629fc19dc2a2f9ac529056696f Mon Sep 17 00:00:00 2001 From: death916 Date: Sat, 14 Jun 2025 21:18:21 -0700 Subject: [PATCH] ip forwarding --- nixos/homelab.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/homelab.nix b/nixos/homelab.nix index af49563..4f42ff9 100644 --- a/nixos/homelab.nix +++ b/nixos/homelab.nix @@ -220,6 +220,13 @@ users.users.death916 = { }; }; + + boot.kernel.sysctl = { + "net.ipv4.ip_forward" = 1; + "net.ipv6.conf.all.forwarding" = 1; + }; + + systemd.services.kopia-backup = { description = "Kopia backup service for NixOS server"; serviceConfig = {