summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-06-07 21:48:20 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-06-07 21:48:20 +0200
commit7e8a510f351b1d180df3795ecf1af3559f9a3c0c (patch)
treeb4264054a7dbe110c501e5e16d0a4557f4cc2b0a /bragi.nix
parent19fa47f0f7152a65ba043ff8cb95725f1ee4668e (diff)
downloadnixos-7e8a510f351b1d180df3795ecf1af3559f9a3c0c.tar
nixos-7e8a510f351b1d180df3795ecf1af3559f9a3c0c.tar.gz
nixos-7e8a510f351b1d180df3795ecf1af3559f9a3c0c.tar.bz2
nixos-7e8a510f351b1d180df3795ecf1af3559f9a3c0c.tar.xz
nixos-7e8a510f351b1d180df3795ecf1af3559f9a3c0c.zip
Version bump in trivmix
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix18
1 files changed, 3 insertions, 15 deletions
diff --git a/bragi.nix b/bragi.nix
index 918ed068..ea074065 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -1,16 +1,6 @@
1{ config, pkgs, ... }: 1{ config, pkgs, ... }:
2let 2
3 makemix = (n: { 3{
4 wantedBy = [ "sound.target" ];
5 requires = [ "jack.service" ];
6 serviceConfig = {
7 Type = "simple";
8 ExecStart = "${pkgs.trivmix}/bin/trivmix --client mix --input 'in_${n}' --output 'out_${n}' --dir /run/jackmix_${n}";
9 User = "jack";
10 Group = "audio";
11 };
12 });
13in {
14 imports = 4 imports =
15 [ 5 [
16 ./bragi-hw.nix 6 ./bragi-hw.nix
@@ -68,6 +58,7 @@ in {
68 tmux 58 tmux
69 nfs-utils 59 nfs-utils
70 jack2 60 jack2
61 trivmix
71 ]; 62 ];
72 63
73 # List services that you want to enable: 64 # List services that you want to enable:
@@ -102,9 +93,6 @@ in {
102 }; 93 };
103 }; 94 };
104 95
105 systemd.services."trivmix_0" = (makemix "0");
106 systemd.services."trivmix_1" = (makemix "1");
107
108 services.mpd = { 96 services.mpd = {
109 enable = true; 97 enable = true;
110 musicDirectory = "/media/odin/music"; 98 musicDirectory = "/media/odin/music";