From 7a739a38d1451ca791d0ddb149c0e74ca8adaba3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 7 Jan 2022 12:49:46 +0100 Subject: vidhar: ... --- hosts/vidhar/network/dsl.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hosts/vidhar/network') diff --git a/hosts/vidhar/network/dsl.nix b/hosts/vidhar/network/dsl.nix index 4f781422..21554b58 100644 --- a/hosts/vidhar/network/dsl.nix +++ b/hosts/vidhar/network/dsl.nix @@ -153,6 +153,10 @@ in { done ''; + postStop = '' + ${pkgs.iproute2}/bin/ip -6 a show dev lan scope global | ${pkgs.coreutils}/bin/grep inet6 | ${pkgs.gawk}/bin/awk '{ print $2; }' | ${pkgs.findutils}/bin/xargs -I '{}' -- ${pkgs.iproute2}/bin/ip addr del '{}' dev lan + ''; + serviceConfig = let dhcpcdConf = pkgs.writeText "dhcpcd.conf" '' duid -- cgit v1.2.3