adyya-flake/networking/firewall.mod.nix

23 lines
424 B
Nix

{
universal.modules = [
{
networking.firewall.enable = true;
networking.nftables.enable = true;
}
];
fructose.modules = [
{
networking.firewall = {
allowedUDPPorts = [
# 53 # pihole
# 5894 # couchdb
];
allowedTCPPorts = [
222 # forgejo ssh
3000 # forgejo
# 5894 # couchdb
];
};
}
];
}