diff options
Diffstat (limited to 'custom')
| -rw-r--r-- | custom/trivmix-service.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
| 43 | }; | 43 | }; |
| 44 | }; | 44 | }; |
| 45 | 45 | ||
| 46 | service = name: mixerCfg: with mixerCfg; let | 46 | service = name: mixerCfg: (with 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 | 49 | ||
| @@ -75,7 +75,7 @@ let | |||
| 75 | Nice = "-10"; | 75 | Nice = "-10"; |
| 76 | LimitRTPRIO = "95:95"; | 76 | LimitRTPRIO = "95:95"; |
| 77 | LimitMEMLOCK = "infinity"; | 77 | LimitMEMLOCK = "infinity"; |
| 78 | }; | 78 | }); |
| 79 | in { | 79 | in { |
| 80 | options.services.trivmix = mkOption { | 80 | options.services.trivmix = mkOption { |
| 81 | type = types.attrsOf (types.submodule mixerModule); | 81 | type = types.attrsOf (types.submodule mixerModule); |
