bert: Add navidrome

This commit is contained in:
Chandler Swift 2024-11-12 01:29:06 -06:00
parent e9e8913fe6
commit 5271fe9965
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
4 changed files with 17 additions and 0 deletions

View file

@ -8,6 +8,7 @@
./services/http/index.nix
./services/monitoring.nix
./services/forgejo.nix
./services/navidrome.nix
];
# Bootloader

View file

@ -6,6 +6,7 @@
./home.chandlerswift.com.nix
./katherineandchandler.com.nix
./maps.chandlerswift.com.nix
./music.chandlerswift.com.nix
./stjohnscccc.org.nix
./swiftgang.net.nix
];

View file

@ -0,0 +1,5 @@
{config, ...}: {
services.caddy.virtualHosts."music.chandlerswift.com".extraConfig = ''
reverse_proxy localhost:${toString config.services.navidrome.settings.Port}
'';
}

View file

@ -0,0 +1,10 @@
{
services.navidrome = {
enable = true;
settings = {
MusicFolder = "/mnt/bigbird-public/media/music";
ScanSchedule = "@every 12h";
EnableSharing = true;
};
};
}