diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-09-03 23:28:00 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-09-03 23:28:00 +0200 |
commit | beb1c8b5036cd8e753b840d2f04d37c9952d86e3 (patch) | |
tree | f5ee4b53142075f1849f1caef3a3044f42845ac1 /custom/trivmix-service.nix | |
parent | 21c47518a39cda417834bafbf9ccfd00d2d52378 (diff) | |
download | nixos-beb1c8b5036cd8e753b840d2f04d37c9952d86e3.tar nixos-beb1c8b5036cd8e753b840d2f04d37c9952d86e3.tar.gz nixos-beb1c8b5036cd8e753b840d2f04d37c9952d86e3.tar.bz2 nixos-beb1c8b5036cd8e753b840d2f04d37c9952d86e3.tar.xz nixos-beb1c8b5036cd8e753b840d2f04d37c9952d86e3.zip |
…
Diffstat (limited to 'custom/trivmix-service.nix')
-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 fd4ccfec..c3cc3ec4 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,7 @@ let | |||
77 | Nice = "-10"; | 77 | Nice = "-10"; |
78 | LimitRTPRIO = "95:95"; | 78 | LimitRTPRIO = "95:95"; |
79 | LimitMEMLOCK = "infinity"; | 79 | LimitMEMLOCK = "infinity"; |
80 | }; | 80 | }); |
81 | in { | 81 | in { |
82 | options.services.trivmix = mkOption { | 82 | options.services.trivmix = mkOption { |
83 | type = types.attrsOf (types.submodule mixerModule); | 83 | type = types.attrsOf (types.submodule mixerModule); |