hosts: fix ipv6 for server

This commit is contained in:
Kabbone 2022-12-28 16:29:12 +01:00
parent bcd1e1a841
commit df5170fca5
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -60,7 +60,7 @@
hostName = "dmz"; hostName = "dmz";
domain = "kabtop.de"; domain = "kabtop.de";
networkmanager = { networkmanager = {
enable = true; enable = false;
}; };
interfaces = { interfaces = {
ens18 = { ens18 = {
@ -76,6 +76,11 @@
}; };
}; };
defaultGateway = "45.142.114.1"; defaultGateway = "45.142.114.1";
defaultGateway6 = {
address = "fe80::1";
interface = "ens18";
};
nameservers = [ "9.9.9.9" "2620:fe::fe" ]; nameservers = [ "9.9.9.9" "2620:fe::fe" ];
firewall = { firewall = {
enable = true; enable = true;