From 122c0deeac2cfec93c2fcb808b2b9cf7506e0c20 Mon Sep 17 00:00:00 2001 From: gabriel-doriath-dohler Date: Mon, 15 Aug 2022 01:33:02 +0200 Subject: [PATCH] DHCP on ens19 and ens18 + set ip on ens18 --- machines/remote-builder-01/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/machines/remote-builder-01/configuration.nix b/machines/remote-builder-01/configuration.nix index 5c11e95..8917745 100644 --- a/machines/remote-builder-01/configuration.nix +++ b/machines/remote-builder-01/configuration.nix @@ -24,13 +24,14 @@ # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour. networking.useDHCP = false; - networking.interfaces.ens19 = { + networking.interfaces.ens18 = { useDHCP = true; ipv6.addresses = [{ address = "2001:470:1f13:187:611:4514:d93a:f80a"; prefixLength = 64; }]; }; + networking.interfaces.ens19.useDHCP = true; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/";