From 4993533bfdf3ab5220cb689ca234c5ac3e5f5868 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 3 Sep 2017 23:19:23 +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, 2 insertions(+), 2 deletions(-) (limited to 'custom') diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index 985ded80..ff5d36ff 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix @@ -43,7 +43,7 @@ let }; }; - service = name: mixerCfg: with mixerCfg; let + service = name: mixerCfg: (with 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; @@ -75,7 +75,7 @@ let Nice = "-10"; LimitRTPRIO = "95:95"; LimitMEMLOCK = "infinity"; - }; + }); in { options.services.trivmix = mkOption { type = types.attrsOf (types.submodule mixerModule); -- cgit v1.2.3