summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/vidhar/network/dsl.nix4
1 files changed, 4 insertions, 0 deletions
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 {
153 done 153 done
154 ''; 154 '';
155 155
156 postStop = ''
157 ${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
158 '';
159
156 serviceConfig = let 160 serviceConfig = let
157 dhcpcdConf = pkgs.writeText "dhcpcd.conf" '' 161 dhcpcdConf = pkgs.writeText "dhcpcd.conf" ''
158 duid 162 duid