feat: Added navidrome

This commit is contained in:
uttarayan21
2024-11-20 18:20:16 +05:30
parent 84905b68ce
commit c529435caf
3 changed files with 50 additions and 21 deletions

19
nixos/mirai/services.nix Normal file
View File

@@ -0,0 +1,19 @@
{
config,
lib,
pkgs,
...
}: {
services.navidrome = {
enable = true;
settings = {
MusicFolder = "/media/music";
};
};
services.caddy = {
enable = true;
virtualHosts."navidrome.darksailor.dev".extraConfig = ''
reverse_proxy localhost:4533
'';
};
}