nixfiles/hosts/zora/networking.nix
2025-10-12 01:12:39 +02:00

43 lines
649 B
Nix

{ }:
{
# Networking
networking = {
hostName = "zora";
domain = "lyes.eu";
enableIPv6 = false;
hostId = "233c35ca";
firewall = {
enable = true;
allowedTCPPorts = [
22
80
443
];
allowedUDPPorts = [
80
443
];
};
interfaces = {
ens2f0 = {
addresses = [
{
address = "185.230.78.13";
prefixLength = 24;
}
];
routes = [
{
address = "0.0.0.0";
prefixLength = 0;
via = "185.230.78.99";
}
];
};
};
};
}