This commit is contained in:
aloslider committed 2026-05-10 11:46:58 +03:00
1 parent 64b87222bd
commit f212c874b5
29 files changed
+689 -80

No files matched your search

+6 -18
View File
@@ -2,25 +2,13 @@
{
networking = {
hostName = "homelab";
useDHCP = false;
dhcpcd.enable = false;
defaultGateway = "192.168.88.1";
nameservers = [ "192.168.88.1" ];
interfaces.enp7s0.ipv4.addresses = [
{
address = "192.168.88.5";
prefixLength = 24;
}
];
firewall = {
allowedTCPPorts = [
22
80
443
];
allowedUDPPorts = [ ];
allowedTCPPorts = [ 22 80 443 6969 ];
allowedUDPPorts = [ 3478 ];
};
};
boot.kernel.sysctl = {
"net.ipv4.ip_unprivileged_port_start" = 80;
};
}