diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-08-20 19:35:11 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-08-20 19:35:11 +0200 |
commit | 38079311831bd64f7c76e891fa2af7ab2ea08cb0 (patch) | |
tree | 52e7fcd33e4d553f931b0719692855b12c57e7af /custom | |
parent | cd2eb229432422c8ba4efd0ac2c6c5b82806397e (diff) | |
download | nixos-38079311831bd64f7c76e891fa2af7ab2ea08cb0.tar nixos-38079311831bd64f7c76e891fa2af7ab2ea08cb0.tar.gz nixos-38079311831bd64f7c76e891fa2af7ab2ea08cb0.tar.bz2 nixos-38079311831bd64f7c76e891fa2af7ab2ea08cb0.tar.xz nixos-38079311831bd64f7c76e891fa2af7ab2ea08cb0.zip |
Try fancier audio setup
Diffstat (limited to 'custom')
-rw-r--r-- | custom/trivmix-service.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index e9120f88..44044504 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix | |||
@@ -4,6 +4,7 @@ | |||
4 | , connectIn ? null | 4 | , connectIn ? null |
5 | , group ? null | 5 | , group ? null |
6 | , initial ? null | 6 | , initial ? null |
7 | , adjustable ? true | ||
7 | , trivmix | 8 | , trivmix |
8 | , stdenv | 9 | , stdenv |
9 | , makeWrapper | 10 | , makeWrapper |
@@ -34,7 +35,7 @@ in { | |||
34 | ${optionalString connect "--run ${connectScript}"} \ | 35 | ${optionalString connect "--run ${connectScript}"} \ |
35 | ${optionalString (! isNull run) "--run ${run}"} \ | 36 | ${optionalString (! isNull run) "--run ${run}"} \ |
36 | ${optionalString (! isNull initial) "--level ${initial}"} \ | 37 | ${optionalString (! isNull initial) "--level ${initial}"} \ |
37 | /dev/shm/mix/${name}/level \ | 38 | ${optionalString (adjustable && isNull group) "/dev/shm/mix/${name}/level"} \ |
38 | ${optionalString (! isNull group) "/dev/shm/mix/${group}/level"} | 39 | ${optionalString (! isNull group) "/dev/shm/mix/${group}/level"} |
39 | ''; | 40 | ''; |
40 | User = "jack"; | 41 | User = "jack"; |