53 lines
808 B
Nix
53 lines
808 B
Nix
{ ... }:
|
|
|
|
{
|
|
# Networking
|
|
networking = {
|
|
hostName = "zora";
|
|
domain = "lyes.eu";
|
|
hostId = "233c35ca";
|
|
|
|
enableIPv6 = false;
|
|
|
|
nameservers = [
|
|
"9.9.9.9"
|
|
"149.112.112.112"
|
|
"1.1.1.1"
|
|
"1.0.0.1"
|
|
];
|
|
|
|
firewall = {
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [
|
|
22
|
|
80
|
|
443
|
|
];
|
|
allowedUDPPorts = [
|
|
80
|
|
443
|
|
];
|
|
};
|
|
|
|
interfaces = {
|
|
ens2f0 = {
|
|
ipv4 = {
|
|
addresses = [
|
|
{
|
|
address = "185.230.78.13";
|
|
prefixLength = 24;
|
|
}
|
|
];
|
|
routes = [
|
|
{
|
|
address = "0.0.0.0";
|
|
prefixLength = 0;
|
|
via = "185.230.78.99";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|