actually, this should fix it
Some checks failed
/ Check formatting (push) Failing after 1m47s

This commit is contained in:
Ittihadyya 2024-12-21 08:49:56 +02:00
parent 80e93f98b3
commit 22d1b1a7fd

View file

@ -4,11 +4,8 @@
networking.firewall.enable = true; networking.firewall.enable = true;
networking.nftables.enable = true; networking.nftables.enable = true;
}) })
({lib, config, ...}: lib.mkIf ( ({
config.networking.hostName != "aspartame" # open ports for data collection on everything EXCEPT aspartame, as that would be stupid, considering it is literally public facing. TODO: set up prometheus authentication, perhaps with a certificate. -e networking.firewall.interfaces.wg0 = {
)
{
networking.firewall = {
allowedTCPPorts = [ allowedTCPPorts = [
6703 6703
]; ];