From 1bb128401ec6aae2ac5382b1979977f457588b8b Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 21 Jan 2023 09:02:11 +0800 Subject: [PATCH] hosts/plover: update IPv6 address for main network interface --- hosts/plover/modules/hardware/hetzner-cloud-cx21.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/plover/modules/hardware/hetzner-cloud-cx21.nix b/hosts/plover/modules/hardware/hetzner-cloud-cx21.nix index 5233f045..80ab05a1 100644 --- a/hosts/plover/modules/hardware/hetzner-cloud-cx21.nix +++ b/hosts/plover/modules/hardware/hetzner-cloud-cx21.nix @@ -40,12 +40,13 @@ in hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; networking = { - useDHCP = false; + enableIPv6 = true; usePredictableInterfaceNames = true; useNetworkd = true; # We're using networkd to configure so we're disabling this # service. + useDHCP = false; dhcpcd.enable = false; }; @@ -66,7 +67,7 @@ in # The public IPv6 is assigned to a server so we'll to have to go with # something else. - "${publicIPv6}1/${toString publicIPv6PrefixLength}" + "${publicIPv6}2/${toString publicIPv6PrefixLength}" ]; networkConfig = {