summaryrefslogtreecommitdiff
path: root/custom/trivmix-service.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-09-03 23:19:23 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-09-03 23:19:23 +0200
commit4993533bfdf3ab5220cb689ca234c5ac3e5f5868 (patch)
treedfdbe0bfe3d86d97983f0bdd0cbf9947d06157ba /custom/trivmix-service.nix
parent79cc515031a11e07495fa57ce5201a3797a5f9d3 (diff)
downloadnixos-4993533bfdf3ab5220cb689ca234c5ac3e5f5868.tar
nixos-4993533bfdf3ab5220cb689ca234c5ac3e5f5868.tar.gz
nixos-4993533bfdf3ab5220cb689ca234c5ac3e5f5868.tar.bz2
nixos-4993533bfdf3ab5220cb689ca234c5ac3e5f5868.tar.xz
nixos-4993533bfdf3ab5220cb689ca234c5ac3e5f5868.zip
Diffstat (limited to 'custom/trivmix-service.nix')
-rw-r--r--custom/trivmix-service.nix4
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 });
79in { 79in {
80 options.services.trivmix = mkOption { 80 options.services.trivmix = mkOption {
81 type = types.attrsOf (types.submodule mixerModule); 81 type = types.attrsOf (types.submodule mixerModule);