{ pkgs, ... }:
{
  imports = [ ./caddy.nix ];
  environment.systemPackages = with pkgs; [ ffmpeg ];
  services = {
    navidrome = {
      enable = true;
      settings = {
        Address = "127.0.0.1";
        Port = 4533;
        MusicFolder = "/media/music";
      };
    };
    caddy.virtualHosts."music.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:4533";
  };
}