summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-07 12:49:46 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-07 12:49:46 +0100
commit7a739a38d1451ca791d0ddb149c0e74ca8adaba3 (patch)
tree086ecaf954662414b1331497921c71ad62ac03ca /hosts
parent05ea731a60bceeefe911f6d580c68651ce915929 (diff)
downloadnixos-7a739a38d1451ca791d0ddb149c0e74ca8adaba3.tar
nixos-7a739a38d1451ca791d0ddb149c0e74ca8adaba3.tar.gz
nixos-7a739a38d1451ca791d0ddb149c0e74ca8adaba3.tar.bz2
nixos-7a739a38d1451ca791d0ddb149c0e74ca8adaba3.tar.xz
nixos-7a739a38d1451ca791d0ddb149c0e74ca8adaba3.zip
vidhar: ...
Diffstat (limited to 'hosts')
-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