2024-10-09 03:36:08 -04:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
2024-08-24 22:16:51 -04:00
|
|
|
services.mpd = {
|
|
|
|
enable = true;
|
|
|
|
user = "jimbo";
|
|
|
|
group = "users";
|
|
|
|
musicDirectory = "/home/jimbo/JimboNFS/Music";
|
|
|
|
playlistDirectory = "/home/jimbo/JimboNFS/Music/Playlists";
|
|
|
|
extraConfig = ''
|
|
|
|
audio_output {
|
|
|
|
type "pipewire"
|
|
|
|
name "Local Pipewire"
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
2024-10-07 11:42:34 -04:00
|
|
|
|
2024-08-24 22:16:51 -04:00
|
|
|
systemd.services.mpd.environment = {
|
|
|
|
XDG_RUNTIME_DIR = "/run/user/${toString config.users.users.jimbo.uid}";
|
|
|
|
};
|
|
|
|
}
|