From 554328a659dc9e086c31ace766aaac1b961e8a68 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 29 Oct 2017 01:56:12 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/tinc/yggdrasil.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom/tinc') diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix index cf4c43e2..d0492793 100644 --- a/custom/tinc/yggdrasil.nix +++ b/custom/tinc/yggdrasil.nix @@ -81,12 +81,12 @@ in { "hosts/borealis-up" = '' #!${pkgs.stdenv.shell} - exec sudo -En ${borealis-up} + exec ${config.security.wrapperDir}/sudo -En ${borealis-up} ''; "hosts/borealis-down" = '' #!${pkgs.stdenv.shell} - exec sudo -En ${borealis-down} + exec ${config.security.wrapperDir}/sudo -En ${borealis-down} ''; }; }; -- cgit v1.2.3