add deps on {ins,rm}mod and kconfig for firewall module

This commit is contained in:
Daniel Barlow 2024-05-01 23:06:12 +01:00
parent 6661e42684
commit e249f48cff

View file

@ -73,13 +73,17 @@ in
}; };
in svc.build args' ; in svc.build args' ;
}; };
programs.busybox.applets = [
"insmod" "rmmod"
];
kernel.config = { kernel.config = {
NETFILTER = "y"; NETFILTER = "y";
NETFILTER_ADVANCED = "y"; NETFILTER_ADVANCED = "y";
NETFILTER_NETLINK = "m"; NETFILTER_NETLINK = "m";
NF_CONNTRACK = "m"; NF_CONNTRACK = "m";
NETLINK_DIAG = "y";
IP6_NF_IPTABLES= "m"; IP6_NF_IPTABLES= "m";
IP_NF_IPTABLES = "m"; IP_NF_IPTABLES = "m";
IP_NF_NAT = "m"; IP_NF_NAT = "m";