From 784bbe630008c4d1b4efb5f44291359eb935886a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 28 Oct 2017 23:49:42 +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/def.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/tinc/def.nix b/custom/tinc/def.nix index c360c4d5..48b12505 100644 --- a/custom/tinc/def.nix +++ b/custom/tinc/def.nix @@ -143,7 +143,7 @@ in } // data.interfaceConfig) ); - networking.networkmanager.dispatcherScripts = flatten (flip mapAttrs' cfg.networks (network: data: optional data.nmDispatch { + networking.networkmanager.dispatcherScripts = concatLists (flip mapAttrsToList cfg.networks (network: data: optional data.nmDispatch { type = "basic"; source = pkgs.writeScript "connect-${network}.sh" '' #!${pkgs.stdenv.shell} -- cgit v1.2.3