From 9ccf3b333d73fa05168868a8c3e99fce61ebc2ab Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 10 Jan 2022 22:40:57 +0000 Subject: [PATCH] blade-tuvok: provide a proper path to the sysctl utility --- ops/nixos/blade-tuvok/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/nixos/blade-tuvok/default.nix b/ops/nixos/blade-tuvok/default.nix index fb3e091529..f333dd5183 100644 --- a/ops/nixos/blade-tuvok/default.nix +++ b/ops/nixos/blade-tuvok/default.nix @@ -35,7 +35,7 @@ in { ip -n wg-endpoint addr add 2a09:a441::f00f/48 dev ve-int ip -n wg-endpoint route add default via 92.118.28.1 ip -n wg-endpoint route add default via 2a09:a441::1 - ip netns exec wg-endpoint sysctl net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1 net.ipv6.conf.default.forwarding=1 + ip netns exec wg-endpoint ${pkgs.procps}/bin/sysctl net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1 net.ipv6.conf.default.forwarding=1 ) ''; nat.extraCommands = ''