Launching Zora
This commit is contained in:
parent
6992836cfe
commit
3fa6f2dd4d
4 changed files with 84 additions and 17 deletions
43
hosts/zora/networking.nix
Normal file
43
hosts/zora/networking.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ }:
|
||||
|
||||
{
|
||||
# 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue