updated module directory structure

This commit is contained in:
beatzaplenty committed 2026-07-13 00:56:19 +10:00
1 parent c64e4ad7d5
commit 9fef163850
11 files changed
+10 -5

No files matched your search

+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;
};
};
}