nixos/services/navidrome.nix
Evie Litherland-Smith a853475779 Initial convert from traefik to caddy
Move (hopefully) all reverse proxies to caddy
Left off adguard for now, tbd if it needs outside access

Moved service expressions up a level since it was a bit unneccesary before
2023-11-20 08:19:13 +00:00

17 lines
388 B
Nix

{ 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";
};
}