enabled firewall
This commit is contained in:
parent
7a3d5bfb2a
commit
e1f2540718
1 changed files with 10 additions and 1 deletions
|
|
@ -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 = [
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue