ref: cleanup

This commit is contained in:
Katharina Heidenreich 2026-03-13 19:51:29 +01:00
parent 0f3ccffd4d
commit 326f4f7f19
7 changed files with 5 additions and 34 deletions

View file

@ -48,9 +48,8 @@ in
};
};
# Firewall rules for DHCP
networking.firewall = {
allowedUDPPorts = [ 67 68 ]; # DHCP ports
checkReversePath = false; # Sometimes needed for DHCP
allowedUDPPorts = [ 67 68 ];
checkReversePath = false;
};
}

View file

@ -1,7 +1,6 @@
{ config, pkgs, lib, ... }:
let
# Import service data (make sure this path is correct)
service_data = import ../data/services.nix;
kiwix = service_data.kiwix;
zimUrls = kiwix.urls;

View file

@ -22,9 +22,9 @@ in {
TZ = "Europe/Berlin";
};
extraOptions = [
"--memory=512m" # Limit container to 512MB RAM
"--memory-swap=512m" # Disable swap usage
"--cpus=1" # Limit to 1 CPU core
"--memory=512m"
"--memory-swap=512m"
"--cpus=1"
];
autoStart = true;
};

View file

@ -28,7 +28,6 @@ in
};
};
# Allow DNS through the firewall
networking.firewall.allowedTCPPorts = [ 53 ];
networking.firewall.allowedUDPPorts = [ 53 ];
}