summaryrefslogtreecommitdiff
path: root/custom/trivmix-service.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-09-03 23:27:29 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-09-03 23:27:29 +0200
commit21c47518a39cda417834bafbf9ccfd00d2d52378 (patch)
tree52e9af47768ffd4a0d03cfb648c6bc9aca5e1141 /custom/trivmix-service.nix
parent8613d599487d58e03bf40f825cb2f9cd36406c85 (diff)
downloadnixos-21c47518a39cda417834bafbf9ccfd00d2d52378.tar
nixos-21c47518a39cda417834bafbf9ccfd00d2d52378.tar.gz
nixos-21c47518a39cda417834bafbf9ccfd00d2d52378.tar.bz2
nixos-21c47518a39cda417834bafbf9ccfd00d2d52378.tar.xz
nixos-21c47518a39cda417834bafbf9ccfd00d2d52378.zip
Diffstat (limited to 'custom/trivmix-service.nix')
-rw-r--r--custom/trivmix-service.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix
index 985ded80..fd4ccfec 100644
--- a/custom/trivmix-service.nix
+++ b/custom/trivmix-service.nix
@@ -43,9 +43,11 @@ let
43 }; 43 };
44 }; 44 };
45 45
46 service = name: mixerCfg: with 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
50 inherit (mixerCfg) onConnect adjustable group initial;
49 51
50 connectScript = '' 52 connectScript = ''
51 #!${pkgs.stdenv.shell} 53 #!${pkgs.stdenv.shell}