feat(tanzanite): navidrome
Yay, second try at getting music streaming to work. This time imma be a bit more concious about how I'm doing it.
This commit is contained in:
parent
da22f47bf0
commit
9925c8fe43
1 changed files with 21 additions and 0 deletions
|
|
@ -100,6 +100,21 @@ in {
|
||||||
deny all;
|
deny all;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
"music.stitchy.moe" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:${toString config.services.navidrome.settings.Port}";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
recommendedProxySettings = true;
|
||||||
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
allow 10.100.0.0/24;
|
||||||
|
allow 192.168.51.2;
|
||||||
|
allow 192.168.51.1;
|
||||||
|
deny all;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -161,6 +176,12 @@ in {
|
||||||
};
|
};
|
||||||
unpoller = {
|
unpoller = {
|
||||||
};
|
};
|
||||||
|
navidrome = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
MusicFolder = "/opt/services/navidrome";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue