adyya-flake/networking/firewall.mod.nix

22 lines
396 B
Nix

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