blob: b46b2322d1c2dd66ccc8a60e3002664d16191a09 (
plain) (
tree)
|
|
{ config, pkgs, ... }:
{
home.packages = [
pkgs.mpd
pkgs.ncmpcpp
];
xdg.configFile."ncmpcpp/config".source = ../configs/ncmpcpp/config;
services.mpd = {
enable = true;
musicDirectory = config.xdg.userDirs.music;
network.startWhenNeeded = true;
extraConfig = ''
auto_update "yes"
filesystem_charset "UTF-8"
zeroconf_enabled "no"
input {
plugin "curl"
}
audio_output {
type "pipewire"
name "PipeWire Sound Server"
}
audio_output {
type "fifo"
name "visualizer"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
'';
};
}
|