enabled firewall

This commit is contained in:
Jermeiah S 2025-06-19 19:05:35 -04:00
parent 7a3d5bfb2a
commit e1f2540718
No known key found for this signature in database

View file

@ -1,4 +1,5 @@
{
lib,
flake,
modulesPath,
# config,
@ -23,13 +24,21 @@ in
enable = true;
settings = {
DATA_DIR = "/var/lib/uptime-kuma/";
UPTIME_KUMA_HOST = "127.0.0.1";
UPTIME_KUMA_HOST = "0.0.0.0";
PORT = "3001";
};
};
};
networking = {
hostName = "observer-tofu";
firewall = {
# enable = lib.mkForce false;
interfaces = {
"eth0@if77" = {
allowedTCPPorts = [ 3001 ];
};
};
};
};
environment.systemPackages = [
];