From bd02870e9f1df02322d70d94bd214e4f4b65d3e9 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 13 Jul 2021 23:18:40 +0200 Subject: [PATCH] poseidon: enable ip forwarding in sysctl --- hosts/poseidon/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/poseidon/default.nix b/hosts/poseidon/default.nix index e650206..20b325c 100644 --- a/hosts/poseidon/default.nix +++ b/hosts/poseidon/default.nix @@ -21,6 +21,11 @@ in boot.supportedFilesystems = [ "btrfs" ]; + boot.kernel.sysctl = { + "net.ipv6.conf.all.forwarding" = true; + "net.ipv4.ip_forward" = true; + }; + services.btrfs = { autoScrub = { enable = true;