From 21c47518a39cda417834bafbf9ccfd00d2d52378 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 3 Sep 2017 23:27:29 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/trivmix-service.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index 985ded80..fd4ccfec 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix @@ -43,9 +43,11 @@ let }; }; - service = name: mixerCfg: with mixerCfg; let + service = name: mixerCfg: let connectIn = if isList mixerCfg.connectIn then mixerCfg.connectIn else singleton mixerCfg.connectIn; connectOut = if isList mixerCfg.connectOut then mixerCfg.connectOut else singleton mixerCfg.connectOut; + + inherit (mixerCfg) onConnect adjustable group initial; connectScript = '' #!${pkgs.stdenv.shell} -- cgit v1.2.3