added tailscale exit node module and enabled on server
Check NixOS configurations / eval-hosts (push) Failing after 6m55s

This commit is contained in:
2026-07-08 12:48:52 +10:00
parent f9c0f01aba
commit eb2d3e3260
4 changed files with 29 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
{ config, lib, ... }:
{
options.myNetworking.ipForwarding.enable = lib.mkEnableOption "Enable IPv4 and IPv6 forwarding";
config = lib.mkIf config.myNetworking.ipForwarding.enable {
boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;
};
};
}