music-assistant: move out of module

This commit is contained in:
2025-03-10 16:27:25 +00:00
parent 8d4f1eb419
commit df7ebdb825
2 changed files with 25 additions and 37 deletions

View File

@ -0,0 +1,25 @@
{
config,
...
}:
{
services = {
nginx.virtualHosts."music-assistant.${config.networking.hostName}" = {
extraConfig = ''
proxy_buffering off;
'';
locations."/" = {
proxyPass = "http://[::1]:8095";
proxyWebsockets = true;
};
};
music-assistant = {
enable = true;
providers = [
"hass"
"jellyfin"
];
};
};
}