2023-07-18 17:23:46 +02:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
boot.loader.grub = {
|
|
|
|
enable = true;
|
|
|
|
device = "/dev/vda";
|
|
|
|
};
|
|
|
|
|
2023-07-20 06:29:15 +02:00
|
|
|
networking = {
|
|
|
|
interfaces = {
|
|
|
|
"enp6s18".ipv6.addresses = [{
|
|
|
|
address = "2001:470:5429::96";
|
|
|
|
prefixLength = 64;
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
|
|
|
|
defaultGateway6 = {
|
|
|
|
address = "2001:470:5429::1";
|
|
|
|
interface = "enp6s18";
|
|
|
|
};
|
|
|
|
|
|
|
|
hostName = "web-public-2";
|
2023-08-02 22:46:07 +02:00
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [ 80 443 5000 8448 ];
|
|
|
|
};
|
2023-07-18 17:23:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|