From 0e3921d126f946702f2adfca1eb017e40689e788 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Thu, 13 Jan 2022 20:23:19 +0100 Subject: [PATCH] Yggdrasil: enable IPv6 forwarding --- nix/nixos-module/container/yggdrasil.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/nixos-module/container/yggdrasil.nix b/nix/nixos-module/container/yggdrasil.nix index 3af5924..28e1134 100644 --- a/nix/nixos-module/container/yggdrasil.nix +++ b/nix/nixos-module/container/yggdrasil.nix @@ -10,6 +10,9 @@ lib.mkIf config.site.hosts.${hostName}.services.yggdrasil.enable { fi ''; + boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1; + # Forward traffic under the prefix. + services.yggdrasil = { enable = true; persistentKeys = true;