From f7b6fdf07a030563b9150df65ea5bc0431df0e96 Mon Sep 17 00:00:00 2001 From: gabriel-doriath-dohler Date: Mon, 15 Aug 2022 00:00:55 +0200 Subject: [PATCH] Fix remote builder ip address --- machines/core-services-01/subZone.nix | 2 +- machines/remote-builder-01/configuration.nix | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/machines/core-services-01/subZone.nix b/machines/core-services-01/subZone.nix index 2738afe..4495c29 100644 --- a/machines/core-services-01/subZone.nix +++ b/machines/core-services-01/subZone.nix @@ -10,7 +10,7 @@ let delegateACMEDNSChallenge = acme: { _acme-challenge.CNAME = [ acme ]; }; remoteBuilders = { - nix01 = [ "2001:470:1f13:187:1e07:c670:3958:f8f1" ]; + nix01 = [ "2001:470:1f13:187:611:4514:d93a:f80a" ]; }; dualstack = { A = my.ipv4; diff --git a/machines/remote-builder-01/configuration.nix b/machines/remote-builder-01/configuration.nix index c346646..d624f04 100644 --- a/machines/remote-builder-01/configuration.nix +++ b/machines/remote-builder-01/configuration.nix @@ -24,7 +24,13 @@ # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour. networking.useDHCP = false; - networking.interfaces.ens19.useDHCP = true; + networking.interfaces.ens19 = { + useDHCP = true; + ipv6.addresses = [{ + address = "2001:470:1f13:187:611:4514:d93a:f80a"; + prefixLength = 64; + }]; + }; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/";