diff options
-rw-r--r-- | custom/trivmix-service.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
43 | }; | 43 | }; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | service = name: mixerCfg: with mixerCfg; let | 46 | service = name: mixerCfg: let |
47 | connectIn = if isList mixerCfg.connectIn then mixerCfg.connectIn else singleton mixerCfg.connectIn; | 47 | connectIn = if isList mixerCfg.connectIn then mixerCfg.connectIn else singleton mixerCfg.connectIn; |
48 | connectOut = if isList mixerCfg.connectOut then mixerCfg.connectOut else singleton mixerCfg.connectOut; | 48 | connectOut = if isList mixerCfg.connectOut then mixerCfg.connectOut else singleton mixerCfg.connectOut; |
49 | |||
50 | inherit (mixerCfg) onConnect adjustable group initial; | ||
49 | 51 | ||
50 | connectScript = '' | 52 | connectScript = '' |
51 | #!${pkgs.stdenv.shell} | 53 | #!${pkgs.stdenv.shell} |