diff options
Diffstat (limited to 'users/fcuny/desktop')
-rw-r--r-- | users/fcuny/desktop/media.nix | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/users/fcuny/desktop/media.nix b/users/fcuny/desktop/media.nix index d4f4cce..9f5b93b 100644 --- a/users/fcuny/desktop/media.nix +++ b/users/fcuny/desktop/media.nix @@ -7,10 +7,28 @@ pkgs.pavucontrol ]; - xdg.configFile."mpd/mpd.conf".source = ../configs/mpd/mpd.conf; xdg.configFile."ncmpcpp/config".source = ../configs/ncmpcpp/config; services.mpd = { enable = true; + musicDirectory = config.xdg.userDirs.music; + 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" + } + ''; }; } |