From 95ceac2061400dae242f6622d77a503871e62b78 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 4 Apr 2020 00:07:13 +0200 Subject: [PATCH] lib/lxc-container.nix: enable IPv6 link-local addresses in systemd-networkd --- lib/lxc-container.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/lxc-container.nix b/lib/lxc-container.nix index 853f53de..9f0e1577 100644 --- a/lib/lxc-container.nix +++ b/lib/lxc-container.nix @@ -20,7 +20,10 @@ preferTempAddress = false; }; systemd.network.networks."40-eth0" = { - networkConfig.IPv6AcceptRA = true; + networkConfig = { + IPv6AcceptRA = true; + LinkLocalAddressing = "ipv6"; + }; }; boot.isContainer = true;