Same tweaks as before but added the nameservers

This commit is contained in:
Lillian Violet 2024-05-07 10:33:28 +02:00
parent b033214d79
commit 41ca870d1c

View file

@ -102,26 +102,26 @@
# networking.nat.enable = true;
# networking.nat.internalInterfaces = ["ve-+"];
# networking.nat.externalInterface = "ens18";
# networking.enableIPv6 = lib.mkForce true;
# networking.nameservers = ["79.143.183.251" "79.143.183.252" "2a02:c207::1:53" "2a02:c207::2:53"];
networking.enableIPv6 = lib.mkForce true;
networking.nameservers = ["79.143.183.251" "79.143.183.252" "2a02:c207::1:53" "2a02:c207::2:53"];
# networking.interfaces.ens18.ipv4.addresses = [
# {
# address = "62.171.160.195";
# prefixLength = 32;
# }
# ];
networking.interfaces.ens18.ipv4.addresses = [
{
address = "62.171.160.195";
prefixLength = 32;
}
];
# networking.interfaces.ens18.ipv6.addresses = [
# {
# address = "2a02:c207:2063:2448::1";
# prefixLength = 64;
# }
# ];
# networking.defaultGateway6 = {
# address = "fe80::1";
# interface = "ens18";
# };
networking.interfaces.ens18.ipv6.addresses = [
{
address = "2a02:c207:2063:2448::1";
prefixLength = 64;
}
];
networking.defaultGateway6 = {
address = "fe80::1";
interface = "ens18";
};
# Open ports in the firewall.
networking.firewall = {