2024-07-30 15:06:34 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [ ./caddy.nix ];
|
|
|
|
environment.systemPackages = with pkgs; [ ffmpeg ];
|
2023-11-20 08:19:13 +00:00
|
|
|
services = {
|
|
|
|
navidrome = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
Address = "127.0.0.1";
|
|
|
|
Port = 4533;
|
|
|
|
MusicFolder = "/media/music";
|
|
|
|
};
|
|
|
|
};
|
2024-01-30 14:21:50 +00:00
|
|
|
caddy.virtualHosts."music.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:4533";
|
2023-11-20 08:19:13 +00:00
|
|
|
};
|
|
|
|
}
|