summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-09-03 23:31:56 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-09-03 23:31:56 +0200
commit60d5a46461708e38a459c7193a13faaff44d7fab (patch)
tree7f1cda281c8bd4bdf8a18d3304413c8378a9367c /custom
parentbeb1c8b5036cd8e753b840d2f04d37c9952d86e3 (diff)
downloadnixos-60d5a46461708e38a459c7193a13faaff44d7fab.tar
nixos-60d5a46461708e38a459c7193a13faaff44d7fab.tar.gz
nixos-60d5a46461708e38a459c7193a13faaff44d7fab.tar.bz2
nixos-60d5a46461708e38a459c7193a13faaff44d7fab.tar.xz
nixos-60d5a46461708e38a459c7193a13faaff44d7fab.zip
…!
Diffstat (limited to 'custom')
-rw-r--r--custom/trivmix-service.nix5
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 };
81in { 82in {
82 options.services.trivmix = mkOption { 83 options.services.trivmix = mkOption {
83 type = types.attrsOf (types.submodule mixerModule); 84 type = types.attrsOf (types.submodule mixerModule);