summaryrefslogtreecommitdiffstats
path: root/machines/jormungand
diff options
context:
space:
mode:
authorDominique Martinet @ jormungand <asmadeus@codewreck.org>2020-05-09 08:47:55 +0200
committerDominique Martinet @ jormungand <asmadeus@codewreck.org>2020-05-09 08:47:55 +0200
commitf289fd8ed251cd56fd77d9493a09b991ea152aa5 (patch)
tree2f25ea589fdd4ac611c1d0413d3c8b05597fbd33 /machines/jormungand
parent6e4924cf8856f5d471cd3314bddfb3a810d14194 (diff)
mpd: add fluidsynth
Diffstat (limited to 'machines/jormungand')
-rw-r--r--machines/jormungand/containers.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/machines/jormungand/containers.nix b/machines/jormungand/containers.nix
index 48ae465..d70a425 100644
--- a/machines/jormungand/containers.nix
+++ b/machines/jormungand/containers.nix
@@ -71,9 +71,14 @@ let targetConfig = {
format "44100:16:2"
max_clients "0" # optional 0=no limit
}
+ # until services.mpd.fluidsynth, see https://github.com/NixOS/nixpkgs/pull/87270
+ decoder {
+ plugin "fluidsynth"
+ soundfont "${pkgs.soundfont-fluid}/share/soundfonts/FluidR3_GM2-2.sf2"
+ }
'';
};
- environment.systemPackages = with pkgs; [ ashuffle ];
+ environment.systemPackages = with pkgs; [ ashuffle soundfont-fluid ];
systemd.services.ashuffle = {
description = "Automagically adds songs";
path = [ pkgs.ashuffle ];