diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-10-03 17:15:36 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-10-03 17:15:36 +0200 |
commit | 9248259708bd6ade5e334a2cdfb29d2a20acb0dd (patch) | |
tree | 976a140d547557c8cdf98856510030fd35b83d1a /hosts/surtr | |
parent | 59e54bd97f70711573d321f2d2aeee5da46bf95d (diff) | |
download | nixos-9248259708bd6ade5e334a2cdfb29d2a20acb0dd.tar nixos-9248259708bd6ade5e334a2cdfb29d2a20acb0dd.tar.gz nixos-9248259708bd6ade5e334a2cdfb29d2a20acb0dd.tar.bz2 nixos-9248259708bd6ade5e334a2cdfb29d2a20acb0dd.tar.xz nixos-9248259708bd6ade5e334a2cdfb29d2a20acb0dd.zip |
...
Diffstat (limited to 'hosts/surtr')
-rw-r--r-- | hosts/surtr/vpn/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/surtr/vpn/default.nix b/hosts/surtr/vpn/default.nix index cad3b5b4..7f3065f7 100644 --- a/hosts/surtr/vpn/default.nix +++ b/hosts/surtr/vpn/default.nix | |||
@@ -143,9 +143,9 @@ in { | |||
143 | serviceConfig = { | 143 | serviceConfig = { |
144 | Type = "oneshot"; | 144 | Type = "oneshot"; |
145 | RemainAfterExit = true; | 145 | RemainAfterExit = true; |
146 | ExecStop = "${pkgs.iproute}/bin/ip netns exec vpn ip link delete upstream"; | 146 | ExecStop = "${pkgs.iproute2}/bin/ip netns exec vpn ip link delete upstream"; |
147 | }; | 147 | }; |
148 | path = with pkgs; [ iproute procps ]; | 148 | path = with pkgs; [ iproute2 procps ]; |
149 | script = '' | 149 | script = '' |
150 | ip netns exec vpn sysctl \ | 150 | ip netns exec vpn sysctl \ |
151 | net.ipv6.conf.all.forwarding=1 \ | 151 | net.ipv6.conf.all.forwarding=1 \ |