diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-09-03 23:31:56 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-09-03 23:31:56 +0200 |
| commit | 60d5a46461708e38a459c7193a13faaff44d7fab (patch) | |
| tree | 7f1cda281c8bd4bdf8a18d3304413c8378a9367c | |
| parent | beb1c8b5036cd8e753b840d2f04d37c9952d86e3 (diff) | |
| download | nixos-60d5a46461708e38a459c7193a13faaff44d7fab.tar nixos-60d5a46461708e38a459c7193a13faaff44d7fab.tar.gz nixos-60d5a46461708e38a459c7193a13faaff44d7fab.tar.bz2 nixos-60d5a46461708e38a459c7193a13faaff44d7fab.tar.xz nixos-60d5a46461708e38a459c7193a13faaff44d7fab.zip | |
…!
| -rw-r--r-- | custom/trivmix-service.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index c3cc3ec4..aa9708c6 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: (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 | 49 | ||
| @@ -77,7 +77,8 @@ let | |||
| 77 | Nice = "-10"; | 77 | Nice = "-10"; |
| 78 | LimitRTPRIO = "95:95"; | 78 | LimitRTPRIO = "95:95"; |
| 79 | LimitMEMLOCK = "infinity"; | 79 | LimitMEMLOCK = "infinity"; |
| 80 | }); | 80 | }; |
| 81 | }; | ||
| 81 | in { | 82 | in { |
| 82 | options.services.trivmix = mkOption { | 83 | options.services.trivmix = mkOption { |
| 83 | type = types.attrsOf (types.submodule mixerModule); | 84 | type = types.attrsOf (types.submodule mixerModule); |
